public class FtpInboundChannelAdapterSpec extends RemoteFileInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpInboundChannelAdapterSpec,FtpInboundFileSynchronizingMessageSource>
synchronizer
PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
FtpInboundChannelAdapterSpec(SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory,
Comparator<File> comparator) |
Modifier and Type | Method and Description |
---|---|
FtpInboundChannelAdapterSpec |
patternFilter(String pattern)
Specify a simple pattern to match remote files.
|
FtpInboundChannelAdapterSpec |
regexFilter(String regex)
Specify a regular expression to match remote files.
|
autoCreateLocalDirectory, deleteRemoteFiles, filter, filterExpression, filterFunction, getComponentsToRegister, localDirectory, localFilename, localFilenameExpression, localFilenameExpression, localFilter, maxFetchSize, metadataStorePrefix, preserveTimestamp, remoteComparator, remoteDirectory, remoteDirectoryExpression, remoteFileMetadataStore, remoteFileSeparator, scanner, temporaryFileSuffix
messageHeaders
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
protected FtpInboundChannelAdapterSpec(SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory, Comparator<File> comparator)
public FtpInboundChannelAdapterSpec patternFilter(String pattern)
patternFilter
in class RemoteFileInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpInboundChannelAdapterSpec,FtpInboundFileSynchronizingMessageSource>
pattern
- the pattern.FtpSimplePatternFileListFilter
,
RemoteFileInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)
public FtpInboundChannelAdapterSpec regexFilter(String regex)
regexFilter
in class RemoteFileInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpInboundChannelAdapterSpec,FtpInboundFileSynchronizingMessageSource>
regex
- the expression.FtpRegexPatternFileListFilter
,
RemoteFileInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)