public class FtpInboundFileSynchronizer
extends org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>
AbstractInboundFileSynchronizer
for FTP.Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getFilename(org.apache.commons.net.ftp.FTPFile file) |
protected long |
getModified(org.apache.commons.net.ftp.FTPFile file) |
protected boolean |
isFile(org.apache.commons.net.ftp.FTPFile file) |
afterPropertiesSet, copyFileToLocalDirectory, filterFiles, getTemporaryFileSuffix, setDeleteRemoteFiles, setFilter, setIntegrationEvaluationContext, setLocalFilenameGeneratorExpression, setPreserveTimestamp, setRemoteDirectory, setRemoteFileSeparator, setTemporaryFileSuffix, synchronizeToLocalDirectory
public FtpInboundFileSynchronizer(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory)
SessionFactory
used to acquire Session
instances.sessionFactory
- The session factory.protected boolean isFile(org.apache.commons.net.ftp.FTPFile file)
isFile
in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>
protected java.lang.String getFilename(org.apache.commons.net.ftp.FTPFile file)
getFilename
in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>
protected long getModified(org.apache.commons.net.ftp.FTPFile file)
getModified
in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>