Spring Integration

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:
org.springframework.beans.factory.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
Author:
Josh Long, Oleg Zhurakousky, Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer
logger
 
Constructor Summary
SftpInboundFileSynchronizer(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
 

Constructor Detail

SftpInboundFileSynchronizer

public SftpInboundFileSynchronizer(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> 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>

Spring Integration