public class FtpInboundFileSynchronizer extends AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>
AbstractInboundFileSynchronizer
for FTP.EXPRESSION_PARSER, logger
Constructor and Description |
---|
FtpInboundFileSynchronizer(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 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) |
protected String |
protocol()
Return the protocol this synchronizer works with.
|
afterPropertiesSet, close, copyFileToLocalDirectory, doInit, doSetFilter, doSetRemoteDirectoryExpression, evaluateRemoteDirectory, filterFiles, getComparator, getRemoteFileMetadata, getTemporaryFileSuffix, removeRemoteFileMetadata, rollbackFromFileToListEnd, setBeanFactory, setBeanName, setComparator, setDeleteRemoteFiles, setFilter, setLocalFilenameGeneratorExpression, setLocalFilenameGeneratorExpressionString, setMetadataStorePrefix, setPreserveTimestamp, setRemoteDirectory, setRemoteDirectoryExpression, setRemoteDirectoryExpressionString, setRemoteFileMetadataStore, setRemoteFileSeparator, setTemporaryFileSuffix, synchronizeToLocalDirectory, synchronizeToLocalDirectory
public FtpInboundFileSynchronizer(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 AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>
protected String getFilename(org.apache.commons.net.ftp.FTPFile file)
getFilename
in class AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>
protected long getModified(org.apache.commons.net.ftp.FTPFile file)
getModified
in class AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>
protected String protocol()
AbstractInboundFileSynchronizer
protocol
in class AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>