Class SftpFetcherConfig
java.lang.Object
com.norconex.crawler.core.fetch.BaseFetcherConfig
com.norconex.crawler.fs.fetch.impl.BaseAuthNioFetcherConfig
com.norconex.crawler.fs.fetch.impl.sftp.SftpFetcherConfig
Configuration for SftpFetcher.
SFTP fetcher.
-
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).inthashCode()booleansetAcl(@NonNull AclFetchMode acl) Which permissions to read and write on each document as its access control list (ACL).setCompression(String compression) setConnectTimeout(Duration connectTimeout) setFileNameEncoding(String fileNameEncoding) setKnownHosts(File knownHosts) setPreferredAuthentications(String preferredAuthentications) setStrictHostKeyChecking(String strictHostKeyChecking) setUserDirIsRoot(boolean userDirIsRoot) 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
-
SftpFetcherConfig
public SftpFetcherConfig()
-
-
Method Details
-
getCompression
-
getFileNameEncoding
-
getKnownHosts
-
getPreferredAuthentications
-
getStrictHostKeyChecking
-
getConnectTimeout
-
getAcl
Which permissions to read and write on each document as its access control list (ACL). SFTP gives only the owner, group and mode bits (AclFetchMode.BASIC): withAclFetchMode.EXTENDED, the server's extended ACLs, if any, cannot be read, so the documents' ACLs are partial. Default isAclFetchMode.NONE. -
isUserDirIsRoot
public boolean isUserDirIsRoot() -
setCompression
- Returns:
this.
-
setFileNameEncoding
- Returns:
this.
-
setKnownHosts
- Returns:
this.
-
setPreferredAuthentications
- Returns:
this.
-
setStrictHostKeyChecking
- Returns:
this.
-
setConnectTimeout
- Returns:
this.
-
setAcl
Which permissions to read and write on each document as its access control list (ACL). SFTP gives only the owner, group and mode bits (AclFetchMode.BASIC): withAclFetchMode.EXTENDED, the server's extended ACLs, if any, cannot be read, so the documents' ACLs are partial. Default isAclFetchMode.NONE.- Returns:
this.
-
setUserDirIsRoot
- Returns:
this.
-
equals
- Overrides:
equalsin classBaseAuthNioFetcherConfig
-
canEqual
- Overrides:
canEqualin classBaseAuthNioFetcherConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseAuthNioFetcherConfig
-
toString
- Overrides:
toStringin classBaseAuthNioFetcherConfig
-