org.springframework.integration.ftp.inbound
Class FtpInboundFileSynchronizer
java.lang.Object
org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>
org.springframework.integration.ftp.inbound.FtpInboundFileSynchronizer
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.integration.file.remote.synchronizer.InboundFileSynchronizer
public class FtpInboundFileSynchronizer
- extends org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>
An implementation of AbstractInboundFileSynchronizer for FTP.
- Since:
- 2.0
| Fields inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer |
logger |
|
Constructor Summary |
FtpInboundFileSynchronizer(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory)
Create a synchronizer with the SessionFactory used to acquire Session instances. |
|
Method Summary |
protected java.lang.String |
getFilename(org.apache.commons.net.ftp.FTPFile file)
|
protected boolean |
isFile(org.apache.commons.net.ftp.FTPFile file)
|
| Methods inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer |
afterPropertiesSet, filterFiles, getTemporaryFileSuffix, setDeleteRemoteFiles, setFilter, setLocalFilenameGeneratorExpression, setRemoteDirectory, setRemoteFileSeparator, setTemporaryFileSuffix, synchronizeToLocalDirectory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FtpInboundFileSynchronizer
public FtpInboundFileSynchronizer(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory)
- Create a synchronizer with the
SessionFactory used to acquire Session instances.
isFile
protected boolean isFile(org.apache.commons.net.ftp.FTPFile file)
- Specified by:
isFile in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>
getFilename
protected java.lang.String getFilename(org.apache.commons.net.ftp.FTPFile file)
- Specified by:
getFilename in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>