Spring Integration

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:
org.springframework.beans.factory.InitializingBean, InboundFileSynchronizer

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

An implementation of AbstractInboundFileSynchronizer for FTP.

Since:
2.0
Author:
Iwein Fuld, Josh Long, Mark Fisher

Field Summary
 
Fields inherited from class org.springframework.integration.file.remote.synchronizer.AbstractInboundFileSynchronizer
logger
 
Constructor Summary
FtpInboundFileSynchronizer(SessionFactory<org.apache.commons.net.ftp.FTPFile> 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, 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

FtpInboundFileSynchronizer

public FtpInboundFileSynchronizer(SessionFactory<org.apache.commons.net.ftp.FTPFile> 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>

Spring Integration