org.springframework.integration.sftp.inbound
Class SftpInboundFileSynchronizer

java.lang.Object
  extended by org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry>
      extended by org.springframework.integration.sftp.inbound.SftpInboundFileSynchronizer
All Implemented Interfaces:
InitializingBean, InboundFileSynchronizer

public class SftpInboundFileSynchronizer
extends AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry>

Handles the synchronization between a remote SFTP directory and a local mount.

Since:
2.0

Field Summary
 
Fields inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer
logger
 
Constructor Summary
SftpInboundFileSynchronizer(SessionFactory 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, setRemoteDirectory, setRemoteFileSeparator, setTemporaryFileSuffix, synchronizeToLocalDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SftpInboundFileSynchronizer

public SftpInboundFileSynchronizer(SessionFactory sessionFactory)
Method Detail

isFile

protected boolean isFile(com.jcraft.jsch.ChannelSftp.LsEntry file)
Specified by:
isFile in class AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry>

getFilename

protected java.lang.String getFilename(com.jcraft.jsch.ChannelSftp.LsEntry file)
Specified by:
getFilename in class AbstractInboundFileSynchronizer<com.jcraft.jsch.ChannelSftp.LsEntry>