List of usage examples for org.springframework.integration.ftp.dsl FtpStreamingInboundChannelAdapterSpec FtpStreamingInboundChannelAdapterSpec
FtpStreamingInboundChannelAdapterSpec(RemoteFileTemplate<FTPFile> remoteFileTemplate, Comparator<FTPFile> comparator)
From source file:org.springframework.integration.ftp.dsl.Ftp.java
/** * A {@link FtpStreamingInboundChannelAdapterSpec} factory for an inbound channel * adapter spec./*from w ww .jav a 2 s . co m*/ * @param remoteFileTemplate the remote file template. * @param receptionOrderComparator the comparator. * @return the spec. */ public static FtpStreamingInboundChannelAdapterSpec inboundStreamingAdapter( RemoteFileTemplate<FTPFile> remoteFileTemplate, Comparator<AbstractFileInfo<FTPFile>> receptionOrderComparator) { return new FtpStreamingInboundChannelAdapterSpec(remoteFileTemplate, receptionOrderComparator); }