org.springframework.integration.ftp.inbound
Class FtpInboundFileSynchronizer

java.lang.Object
  extended by org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>
      extended by org.springframework.integration.ftp.inbound.FtpInboundFileSynchronizer
All Implemented Interfaces:
InitializingBean, InboundFileSynchronizer

public class FtpInboundFileSynchronizer
extends AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>

An implementation of AbstractInboundFileSynchronizer for FTP.

Since:
2.0

Field Summary
 
Fields inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer
logger
 
Constructor Summary
FtpInboundFileSynchronizer(SessionFactory sessionFactory)
          Create a synchronizer with the SessionFactory used to acquire Session instances.
 
Method Summary
protected  java.lang.String getFilename(org.apache.commons.net.ftp.FTPFile file)
           
protected  boolean isFile(org.apache.commons.net.ftp.FTPFile file)
           
 
Methods inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer
afterPropertiesSet, filterFiles, setDeleteRemoteFiles, setFilter, setRemoteDirectory, synchronizeToLocalDirectory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FtpInboundFileSynchronizer

public FtpInboundFileSynchronizer(SessionFactory sessionFactory)
Create a synchronizer with the SessionFactory used to acquire Session instances.

Method Detail

isFile

protected boolean isFile(org.apache.commons.net.ftp.FTPFile file)
Specified by:
isFile in class AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>

getFilename

protected java.lang.String getFilename(org.apache.commons.net.ftp.FTPFile file)
Specified by:
getFilename in class AbstractInboundFileSynchronizer<org.apache.commons.net.ftp.FTPFile>