Class FtpStreamingInboundChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<FtpStreamingInboundChannelAdapterSpec, FtpStreamingMessageSource>
org.springframework.integration.dsl.MessageSourceSpec<FtpStreamingInboundChannelAdapterSpec, FtpStreamingMessageSource>
org.springframework.integration.file.dsl.RemoteFileStreamingInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile, FtpStreamingInboundChannelAdapterSpec, FtpStreamingMessageSource>
org.springframework.integration.ftp.dsl.FtpStreamingInboundChannelAdapterSpec
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<FtpStreamingMessageSource>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle,- ComponentsRegistration
public class FtpStreamingInboundChannelAdapterSpec
extends RemoteFileStreamingInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile, FtpStreamingInboundChannelAdapterSpec, FtpStreamingMessageSource>
- Since:
- 5.0
- Author:
- Gary Russell, Artem Bilan
- 
Field SummaryFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpeclogger, PARSER, targetFields inherited from interface org.springframework.beans.factory.FactoryBeanOBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycleDEFAULT_PHASE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedFtpStreamingInboundChannelAdapterSpec(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate, Comparator<org.apache.commons.net.ftp.FTPFile> comparator) 
- 
Method SummaryModifier and TypeMethodDescriptionpatternFilter(String pattern) Specify a simple pattern to match remote files (e.g.regexFilter(String regex) Specify a regular expression to match remote files (e.g.Methods inherited from class org.springframework.integration.file.dsl.RemoteFileStreamingInboundChannelAdapterSpecfilter, filterExpression, filterFunction, getComponentsToRegister, maxFetchSize, remoteDirectory, remoteDirectory, remoteDirectory, remoteFileSeparatorMethods inherited from class org.springframework.integration.dsl.MessageSourceSpecmessageHeadersMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBeanisSingleton
- 
Constructor Details- 
FtpStreamingInboundChannelAdapterSpecprotected FtpStreamingInboundChannelAdapterSpec(RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate, @Nullable Comparator<org.apache.commons.net.ftp.FTPFile> comparator) 
 
- 
- 
Method Details- 
patternFilterSpecify a simple pattern to match remote files (e.g. '*.txt').- Specified by:
- patternFilterin class- RemoteFileStreamingInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile, FtpStreamingInboundChannelAdapterSpec, FtpStreamingMessageSource>
- Parameters:
- pattern- the pattern.
- Returns:
- the spec.
- See Also:
 
- 
regexFilterSpecify a regular expression to match remote files (e.g. '[0-9].*.txt').- Specified by:
- regexFilterin class- RemoteFileStreamingInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile, FtpStreamingInboundChannelAdapterSpec, FtpStreamingMessageSource>
- Parameters:
- regex- the expression.
- Returns:
- the spec.
- See Also:
 
 
-