Example usage for org.springframework.integration.ftp.dsl FtpInboundChannelAdapterSpec FtpInboundChannelAdapterSpec

List of usage examples for org.springframework.integration.ftp.dsl FtpInboundChannelAdapterSpec FtpInboundChannelAdapterSpec

Introduction

In this page you can find the example usage for org.springframework.integration.ftp.dsl FtpInboundChannelAdapterSpec FtpInboundChannelAdapterSpec.

Prototype

FtpInboundChannelAdapterSpec(SessionFactory<FTPFile> sessionFactory, Comparator<File> comparator) 

Source Link

Usage

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);
}