Class FtpInboundChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<S,H>
 
org.springframework.integration.dsl.MessageSourceSpec<S,MS>
 
org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpInboundChannelAdapterSpec,FtpInboundFileSynchronizingMessageSource>
  
org.springframework.integration.ftp.dsl.FtpInboundChannelAdapterSpec
- All Implemented Interfaces:
- DisposableBean,- FactoryBean<FtpInboundFileSynchronizingMessageSource>,- InitializingBean,- Lifecycle,- Phased,- SmartLifecycle,- ComponentsRegistration
public class FtpInboundChannelAdapterSpec
extends RemoteFileInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpInboundChannelAdapterSpec,FtpInboundFileSynchronizingMessageSource>  
- Since:
- 5.0
- Author:
- Artem Bilan
- 
Field SummaryFields inherited from class org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpecsynchronizerFields 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 SummaryConstructorsModifierConstructorDescriptionprotectedFtpInboundChannelAdapterSpec(SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory, Comparator<File> comparator) 
- 
Method SummaryModifier and TypeMethodDescriptionpatternFilter(String pattern) Specify a simple pattern to match remote files.regexFilter(String regex) Specify a regular expression to match remote files.Methods inherited from class org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpecautoCreateLocalDirectory, deleteRemoteFiles, filter, filterExpression, filterFunction, getComponentsToRegister, localDirectory, localFilename, localFilenameExpression, localFilenameExpression, localFilter, maxFetchSize, metadataStorePrefix, preserveTimestamp, remoteComparator, remoteDirectory, remoteDirectoryExpression, remoteFileMetadataStore, remoteFileSeparator, scanner, temporaryFileSuffixMethods 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- 
FtpInboundChannelAdapterSpecprotected FtpInboundChannelAdapterSpec(SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory, @Nullable Comparator<File> comparator) 
 
- 
- 
Method Details- 
patternFilterSpecify a simple pattern to match remote files.- Specified by:
- patternFilterin class- RemoteFileInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,- FtpInboundChannelAdapterSpec, - FtpInboundFileSynchronizingMessageSource> 
- Parameters:
- pattern- the pattern.
- Returns:
- the spec.
- See Also:
 
- 
regexFilterSpecify a regular expression to match remote files.- Specified by:
- regexFilterin class- RemoteFileInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,- FtpInboundChannelAdapterSpec, - FtpInboundFileSynchronizingMessageSource> 
- Parameters:
- regex- the expression.
- Returns:
- the spec.
- See Also:
 
 
-