public class SftpInboundFileSynchronizer extends AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry>
EXPRESSION_PARSER, logger
Constructor and Description |
---|
SftpInboundFileSynchronizer(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory)
Create a synchronizer with the
SessionFactory used to acquire Session instances. |
Modifier and Type | Method and Description |
---|---|
protected String |
getFilename(com.jcraft.jsch.ChannelSftp.LsEntry file) |
protected long |
getModified(com.jcraft.jsch.ChannelSftp.LsEntry file) |
protected boolean |
isFile(com.jcraft.jsch.ChannelSftp.LsEntry file) |
protected String |
protocol()
Return the protocol this synchronizer works with.
|
afterPropertiesSet, close, copyFileToLocalDirectory, doInit, doSetFilter, doSetRemoteDirectoryExpression, filterFiles, getComparator, getRemoteFileMetadata, getTemporaryFileSuffix, removeRemoteFileMetadata, rollbackFromFileToListEnd, setBeanFactory, setBeanName, setComparator, setDeleteRemoteFiles, setFilter, setLocalFilenameGeneratorExpression, setLocalFilenameGeneratorExpressionString, setMetadataStorePrefix, setPreserveTimestamp, setRemoteDirectory, setRemoteDirectoryExpression, setRemoteDirectoryExpressionString, setRemoteFileMetadataStore, setRemoteFileSeparator, setTemporaryFileSuffix, synchronizeToLocalDirectory, synchronizeToLocalDirectory
public SftpInboundFileSynchronizer(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory)
SessionFactory
used to acquire Session
instances.sessionFactory
- The session factory.protected boolean isFile(com.jcraft.jsch.ChannelSftp.LsEntry file)
isFile
in class AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry>
protected String getFilename(com.jcraft.jsch.ChannelSftp.LsEntry file)
getFilename
in class AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry>
protected long getModified(com.jcraft.jsch.ChannelSftp.LsEntry file)
getModified
in class AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry>
protected String protocol()
AbstractInboundFileSynchronizer
protocol
in class AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry>