Class FtpInboundChannelAdapterSpec
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.RemoteFileInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpInboundChannelAdapterSpec,FtpInboundFileSynchronizingMessageSource>
org.springframework.integration.ftp.dsl.FtpInboundChannelAdapterSpec
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,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 Summary
Fields inherited from class org.springframework.integration.file.dsl.RemoteFileInboundChannelAdapterSpec
synchronizerFields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, targetFields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
loggerFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFtpInboundChannelAdapterSpec(SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory, Comparator<File> comparator) -
Method Summary
Modifier 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.RemoteFileInboundChannelAdapterSpec
autoCreateLocalDirectory, 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.MessageSourceSpec
messageHeadersMethods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stopMethods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
FtpInboundChannelAdapterSpec
protected FtpInboundChannelAdapterSpec(SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory, Comparator<File> comparator)
-
-
Method Details
-
patternFilter
Specify a simple pattern to match remote files.- Specified by:
patternFilterin classRemoteFileInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpInboundChannelAdapterSpec, FtpInboundFileSynchronizingMessageSource> - Parameters:
pattern- the pattern.- Returns:
- the spec.
- See Also:
-
regexFilter
Specify a regular expression to match remote files.- Specified by:
regexFilterin classRemoteFileInboundChannelAdapterSpec<org.apache.commons.net.ftp.FTPFile,FtpInboundChannelAdapterSpec, FtpInboundFileSynchronizingMessageSource> - Parameters:
regex- the expression.- Returns:
- the spec.
- See Also:
-