public class FtpStreamingInboundChannelAdapterSpec extends RemoteFileStreamingInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpStreamingInboundChannelAdapterSpec,FtpStreamingMessageSource>
PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
FtpStreamingInboundChannelAdapterSpec(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate,
Comparator<org.apache.commons.net.ftp.FTPFile> comparator) |
Modifier and Type | Method and Description |
---|---|
FtpStreamingInboundChannelAdapterSpec |
patternFilter(String pattern)
Specify a simple pattern to match remote files (e.g.
|
FtpStreamingInboundChannelAdapterSpec |
regexFilter(String regex)
Specify a regular expression to match remote files (e.g.
|
filter, filterExpression, filterFunction, getComponentsToRegister, maxFetchSize, remoteDirectory, remoteDirectory, remoteDirectory, remoteFileSeparator
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 FtpStreamingInboundChannelAdapterSpec(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate, Comparator<org.apache.commons.net.ftp.FTPFile> comparator)
public FtpStreamingInboundChannelAdapterSpec patternFilter(String pattern)
patternFilter
in class RemoteFileStreamingInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpStreamingInboundChannelAdapterSpec,FtpStreamingMessageSource>
pattern
- the pattern.FtpSimplePatternFileListFilter
,
RemoteFileStreamingInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)
public FtpStreamingInboundChannelAdapterSpec regexFilter(String regex)
regexFilter
in class RemoteFileStreamingInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpStreamingInboundChannelAdapterSpec,FtpStreamingMessageSource>
regex
- the expression.FtpRegexPatternFileListFilter
,
RemoteFileStreamingInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)