org.springframework.integration.sftp.inbound
Class SftpInboundFileSynchronizer
java.lang.Object
org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry>
org.springframework.integration.sftp.inbound.SftpInboundFileSynchronizer
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.integration.file.remote.synchronizer.InboundFileSynchronizer
public class SftpInboundFileSynchronizer
- extends org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry>
Handles the synchronization between a remote SFTP directory and a local mount.
- Since:
- 2.0
| Fields inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer |
logger |
|
Constructor Summary |
SftpInboundFileSynchronizer(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory)
|
|
Method Summary |
protected java.lang.String |
getFilename(com.jcraft.jsch.ChannelSftp.LsEntry file)
|
protected boolean |
isFile(com.jcraft.jsch.ChannelSftp.LsEntry 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 |
SftpInboundFileSynchronizer
public SftpInboundFileSynchronizer(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory)
isFile
protected boolean isFile(com.jcraft.jsch.ChannelSftp.LsEntry file)
- Specified by:
isFile in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry>
getFilename
protected java.lang.String getFilename(com.jcraft.jsch.ChannelSftp.LsEntry file)
- Specified by:
getFilename in class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry>