List of usage examples for org.springframework.integration.ftp.dsl FtpInboundChannelAdapterSpec FtpInboundChannelAdapterSpec
FtpInboundChannelAdapterSpec(SessionFactory<FTPFile> sessionFactory, Comparator<File> comparator)
From source file:org.springframework.integration.ftp.dsl.Ftp.java
/** * A {@link FtpInboundChannelAdapterSpec} factory for an inbound channel adapter spec. * @param sessionFactory the session factory. * @param receptionOrderComparator the comparator. * @return the spec.//from ww w. java 2 s. c o m */ public static FtpInboundChannelAdapterSpec inboundAdapter(SessionFactory<FTPFile> sessionFactory, Comparator<File> receptionOrderComparator) { return new FtpInboundChannelAdapterSpec(sessionFactory, receptionOrderComparator); }