Class SmbFetcherConfig
java.lang.Object
com.norconex.crawler.core.fetch.BaseFetcherConfig
com.norconex.crawler.fs.fetch.impl.BaseAuthNioFetcherConfig
com.norconex.crawler.fs.fetch.impl.smb.SmbFetcherConfig
Configuration for SmbFetcher.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@NonNull AclFetchModegetAcl()Which permissions to read and write on each document as its access control list (ACL): the file's own (AclFetchMode.BASIC), or the share's too (AclFetchMode.EXTENDED), as a level of its own, since a person must pass both.inthashCode()booleanWhether the server is a Linux (or other Unix) server sharing its files through Samba.setAcl(@NonNull AclFetchMode acl) Which permissions to read and write on each document as its access control list (ACL): the file's own (AclFetchMode.BASIC), or the share's too (AclFetchMode.EXTENDED), as a level of its own, since a person must pass both.setLinuxServer(boolean linuxServer) Whether the server is a Linux (or other Unix) server sharing its files through Samba.toString()Methods inherited from class com.norconex.crawler.fs.fetch.impl.BaseAuthNioFetcherConfig
getCredentials, getDomain, setDomainMethods inherited from class com.norconex.crawler.core.fetch.BaseFetcherConfig
getReferenceFilters, setReferenceFilters
-
Constructor Details
-
SmbFetcherConfig
public SmbFetcherConfig()
-
-
Method Details
-
getAcl
Which permissions to read and write on each document as its access control list (ACL): the file's own (AclFetchMode.BASIC), or the share's too (AclFetchMode.EXTENDED), as a level of its own, since a person must pass both. Reading a share's permissions usually needs an account with administrative rights on the server; without them, the documents' ACLs are partial. Default isAclFetchMode.NONE. -
isLinuxServer
public boolean isLinuxServer()Whether the server is a Linux (or other Unix) server sharing its files through Samba. Such a server also checks the right to go through every folder above a file, which Windows lets everyone do, so the ACL then gets apathlevel for the folders within the share. Default isfalse(a Windows server). -
setAcl
Which permissions to read and write on each document as its access control list (ACL): the file's own (AclFetchMode.BASIC), or the share's too (AclFetchMode.EXTENDED), as a level of its own, since a person must pass both. Reading a share's permissions usually needs an account with administrative rights on the server; without them, the documents' ACLs are partial. Default isAclFetchMode.NONE.- Returns:
this.
-
setLinuxServer
Whether the server is a Linux (or other Unix) server sharing its files through Samba. Such a server also checks the right to go through every folder above a file, which Windows lets everyone do, so the ACL then gets apathlevel for the folders within the share. Default isfalse(a Windows server).- Returns:
this.
-
equals
- Overrides:
equalsin classBaseAuthNioFetcherConfig
-
canEqual
- Overrides:
canEqualin classBaseAuthNioFetcherConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseAuthNioFetcherConfig
-
toString
- Overrides:
toStringin classBaseAuthNioFetcherConfig
-