Class FtpFetcherConfig
java.lang.Object
com.norconex.crawler.core.fetch.BaseFetcherConfig
com.norconex.crawler.fs.fetch.impl.BaseAuthNioFetcherConfig
com.norconex.crawler.fs.fetch.impl.ftp.FtpFetcherConfig
Configuration for FtpFetcher.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleancom.github.robtimus.filesystems.ftp.DataChannelProtectionLevelcom.github.robtimus.filesystems.ftp.SecurityModeinthashCode()booleanbooleanbooleanbooleansetAutodetectUtf8(boolean autodetectUtf8) setConnectTimeout(Duration connectTimeout) setControlEncoding(String controlEncoding) setControlKeepAliveReplyTimeout(Duration controlKeepAliveReplyTimeout) setControlKeepAliveTimeout(Duration controlKeepAliveTimeout) setDataChannelProtectionLevel(com.github.robtimus.filesystems.ftp.DataChannelProtectionLevel dataChannelProtectionLevel) setDataTimeout(Duration dataTimeout) setDefaultDateFormat(String defaultDateFormat) setPassiveMode(boolean passiveMode) setRecentDateFormat(String recentDateFormat) setRemoteVerificationDisabled(boolean remoteVerificationDisabled) setSecurityMode(com.github.robtimus.filesystems.ftp.SecurityMode securityMode) setServerLanguageCode(String serverLanguageCode) final FtpFetcherConfigsetShortMonthNames(List<String> shortMonthNames) setSocketTimeout(Duration socketTimeout) 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
-
FtpFetcherConfig
public FtpFetcherConfig()
-
-
Method Details
-
getShortMonthNames
-
setShortMonthNames
-
isAutodetectUtf8
public boolean isAutodetectUtf8() -
getConnectTimeout
-
getControlEncoding
-
getDataTimeout
-
getDefaultDateFormat
-
isPassiveMode
public boolean isPassiveMode() -
getProxySettings
-
getRecentDateFormat
-
isRemoteVerificationDisabled
public boolean isRemoteVerificationDisabled() -
getServerLanguageCode
-
getSocketTimeout
-
getControlKeepAliveTimeout
-
getControlKeepAliveReplyTimeout
-
isUserDirIsRoot
public boolean isUserDirIsRoot() -
getSecurityMode
public com.github.robtimus.filesystems.ftp.SecurityMode getSecurityMode() -
getDataChannelProtectionLevel
public com.github.robtimus.filesystems.ftp.DataChannelProtectionLevel getDataChannelProtectionLevel() -
setAutodetectUtf8
- Returns:
this.
-
setConnectTimeout
- Returns:
this.
-
setControlEncoding
- Returns:
this.
-
setDataTimeout
- Returns:
this.
-
setDefaultDateFormat
- Returns:
this.
-
setPassiveMode
- Returns:
this.
-
setRecentDateFormat
- Returns:
this.
-
setRemoteVerificationDisabled
- Returns:
this.
-
setServerLanguageCode
- Returns:
this.
-
setSocketTimeout
- Returns:
this.
-
setControlKeepAliveTimeout
- Returns:
this.
-
setControlKeepAliveReplyTimeout
- Returns:
this.
-
setUserDirIsRoot
- Returns:
this.
-
setSecurityMode
public FtpFetcherConfig setSecurityMode(com.github.robtimus.filesystems.ftp.SecurityMode securityMode) - Returns:
this.
-
setDataChannelProtectionLevel
public FtpFetcherConfig setDataChannelProtectionLevel(com.github.robtimus.filesystems.ftp.DataChannelProtectionLevel dataChannelProtectionLevel) - Returns:
this.
-
equals
- Overrides:
equalsin classBaseAuthNioFetcherConfig
-
canEqual
- Overrides:
canEqualin classBaseAuthNioFetcherConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseAuthNioFetcherConfig
-
toString
- Overrides:
toStringin classBaseAuthNioFetcherConfig
-