Class SftpStreamingInboundChannelAdapterSpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
org.springframework.integration.dsl.MessageSourceSpec<S,MS>
org.springframework.integration.file.dsl.RemoteFileStreamingInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpStreamingInboundChannelAdapterSpec,SftpStreamingMessageSource>
org.springframework.integration.sftp.dsl.SftpStreamingInboundChannelAdapterSpec
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<SftpStreamingMessageSource>
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
,org.springframework.integration.dsl.ComponentsRegistration
public class SftpStreamingInboundChannelAdapterSpec extends org.springframework.integration.file.dsl.RemoteFileStreamingInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpStreamingInboundChannelAdapterSpec,SftpStreamingMessageSource>
- Since:
- 5.0
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
SftpStreamingInboundChannelAdapterSpec(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate, java.util.Comparator<com.jcraft.jsch.ChannelSftp.LsEntry> comparator)
-
Method Summary
Modifier and Type Method Description SftpStreamingInboundChannelAdapterSpec
patternFilter(java.lang.String pattern)
Specify a simple pattern to match remote files (e.g.SftpStreamingInboundChannelAdapterSpec
regexFilter(java.lang.String regex)
Specify a regular expression to match remote files (e.g.Methods inherited from class org.springframework.integration.file.dsl.RemoteFileStreamingInboundChannelAdapterSpec
filter, filterExpression, filterFunction, getComponentsToRegister, maxFetchSize, remoteDirectory, remoteDirectory, remoteDirectory, remoteFileSeparator
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
-
Constructor Details
-
SftpStreamingInboundChannelAdapterSpec
protected SftpStreamingInboundChannelAdapterSpec(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate, java.util.Comparator<com.jcraft.jsch.ChannelSftp.LsEntry> comparator)
-
-
Method Details
-
patternFilter
Specify a simple pattern to match remote files (e.g. '*.txt').- Specified by:
patternFilter
in classorg.springframework.integration.file.dsl.RemoteFileStreamingInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpStreamingInboundChannelAdapterSpec,SftpStreamingMessageSource>
- Parameters:
pattern
- the pattern.- See Also:
SftpSimplePatternFileListFilter
,RemoteFileStreamingInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)
-
regexFilter
Specify a regular expression to match remote files (e.g. '[0-9].*.txt').- Specified by:
regexFilter
in classorg.springframework.integration.file.dsl.RemoteFileStreamingInboundChannelAdapterSpec<com.jcraft.jsch.ChannelSftp.LsEntry,SftpStreamingInboundChannelAdapterSpec,SftpStreamingMessageSource>
- Parameters:
regex
- the expression.- See Also:
SftpRegexPatternFileListFilter
,RemoteFileStreamingInboundChannelAdapterSpec.filter(org.springframework.integration.file.filters.FileListFilter)
-