public final class Sftp extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static SftpInboundChannelAdapterSpec | inboundAdapter(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory)An  SftpInboundChannelAdapterSpecfactory for an inbound channel adapter spec. | 
| static SftpInboundChannelAdapterSpec | inboundAdapter(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory,
              Comparator<File> receptionOrderComparator)An  SftpInboundChannelAdapterSpecfactory for an inbound channel adapter spec. | 
| static SftpStreamingInboundChannelAdapterSpec | inboundStreamingAdapter(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate)An  SftpStreamingInboundChannelAdapterSpecfactory for an inbound channel
 adapter spec. | 
| static SftpStreamingInboundChannelAdapterSpec | inboundStreamingAdapter(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate,
                       Comparator<com.jcraft.jsch.ChannelSftp.LsEntry> receptionOrderComparator)An  SftpStreamingInboundChannelAdapterSpecfactory for an inbound channel
 adapter spec. | 
| static SftpMessageHandlerSpec | outboundAdapter(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate)Deprecated. 
 in favor of  outboundAdapter(SftpRemoteFileTemplate) | 
| static SftpMessageHandlerSpec | outboundAdapter(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate,
               FileExistsMode fileExistsMode)Deprecated. 
 | 
| static SftpMessageHandlerSpec | outboundAdapter(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory)An  SftpMessageHandlerSpecfactory for an outbound channel adapter spec. | 
| static SftpMessageHandlerSpec | outboundAdapter(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory,
               FileExistsMode fileExistsMode)An  SftpMessageHandlerSpecfactory for an outbound channel adapter spec. | 
| static SftpMessageHandlerSpec | outboundAdapter(SftpRemoteFileTemplate sftpRemoteFileTemplate)An  SftpMessageHandlerSpecfactory for an outbound channel adapter spec. | 
| static SftpMessageHandlerSpec | outboundAdapter(SftpRemoteFileTemplate sftpRemoteFileTemplate,
               FileExistsMode fileExistsMode)An  SftpMessageHandlerSpecfactory for an outbound channel adapter spec. | 
| static SftpOutboundGatewaySpec | outboundGateway(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate,
               AbstractRemoteFileOutboundGateway.Command command,
               String expression)Produce a  SftpOutboundGatewaySpecbased on theRemoteFileTemplate,AbstractRemoteFileOutboundGateway.Commandandexpressionfor the remoteFilePath. | 
| static SftpOutboundGatewaySpec | outboundGateway(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate,
               String command,
               String expression)Produce a  SftpOutboundGatewaySpecbased on theRemoteFileTemplate,AbstractRemoteFileOutboundGateway.Commandandexpressionfor the remoteFilePath. | 
| static SftpOutboundGatewaySpec | outboundGateway(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory,
               AbstractRemoteFileOutboundGateway.Command command,
               String expression)Produce a  SftpOutboundGatewaySpecbased on theSessionFactory,AbstractRemoteFileOutboundGateway.Commandandexpressionfor the
 remoteFilePath. | 
| static SftpOutboundGatewaySpec | outboundGateway(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory,
               MessageSessionCallback<com.jcraft.jsch.ChannelSftp.LsEntry,?> messageSessionCallback)Produce a  SftpOutboundGatewaySpecbased on theMessageSessionCallback. | 
| static SftpOutboundGatewaySpec | outboundGateway(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory,
               String command,
               String expression)Produce a  SftpOutboundGatewaySpecbased on theSessionFactory,AbstractRemoteFileOutboundGateway.Commandandexpressionfor the
 remoteFilePath. | 
public static SftpInboundChannelAdapterSpec inboundAdapter(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory)
SftpInboundChannelAdapterSpec factory for an inbound channel adapter spec.sessionFactory - the session factory.public static SftpInboundChannelAdapterSpec inboundAdapter(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, Comparator<File> receptionOrderComparator)
SftpInboundChannelAdapterSpec factory for an inbound channel adapter spec.sessionFactory - the session factory.receptionOrderComparator - the comparator.public static SftpStreamingInboundChannelAdapterSpec inboundStreamingAdapter(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate)
SftpStreamingInboundChannelAdapterSpec factory for an inbound channel
 adapter spec.remoteFileTemplate - the remote file template.public static SftpStreamingInboundChannelAdapterSpec inboundStreamingAdapter(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate, Comparator<com.jcraft.jsch.ChannelSftp.LsEntry> receptionOrderComparator)
SftpStreamingInboundChannelAdapterSpec factory for an inbound channel
 adapter spec.remoteFileTemplate - the remote file template.receptionOrderComparator - the comparator.public static SftpMessageHandlerSpec outboundAdapter(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory)
SftpMessageHandlerSpec factory for an outbound channel adapter spec.sessionFactory - the session factory.public static SftpMessageHandlerSpec outboundAdapter(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, FileExistsMode fileExistsMode)
SftpMessageHandlerSpec factory for an outbound channel adapter spec.sessionFactory - the session factory.fileExistsMode - the file exists mode.@Deprecated public static SftpMessageHandlerSpec outboundAdapter(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate)
outboundAdapter(SftpRemoteFileTemplate)SftpMessageHandlerSpec factory for an outbound channel adapter spec.remoteFileTemplate - the remote file template.@Deprecated public static SftpMessageHandlerSpec outboundAdapter(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate, FileExistsMode fileExistsMode)
outboundAdapter(SftpRemoteFileTemplate,FileExistsMode)SftpMessageHandlerSpec factory for an outbound channel adapter spec.remoteFileTemplate - the remote file template.fileExistsMode - the file exists mode.public static SftpMessageHandlerSpec outboundAdapter(SftpRemoteFileTemplate sftpRemoteFileTemplate)
SftpMessageHandlerSpec factory for an outbound channel adapter spec.sftpRemoteFileTemplate - the remote file template.public static SftpMessageHandlerSpec outboundAdapter(SftpRemoteFileTemplate sftpRemoteFileTemplate, FileExistsMode fileExistsMode)
SftpMessageHandlerSpec factory for an outbound channel adapter spec.sftpRemoteFileTemplate - the remote file template.fileExistsMode - the file exists mode.public static SftpOutboundGatewaySpec outboundGateway(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, AbstractRemoteFileOutboundGateway.Command command, String expression)
SftpOutboundGatewaySpec based on the SessionFactory,
 AbstractRemoteFileOutboundGateway.Command and expression for the
 remoteFilePath.sessionFactory - the SessionFactory.command - the command to perform on the FTP.expression - the remoteFilePath SpEL expression.SftpOutboundGatewaySpecpublic static SftpOutboundGatewaySpec outboundGateway(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, String command, String expression)
SftpOutboundGatewaySpec based on the SessionFactory,
 AbstractRemoteFileOutboundGateway.Command and expression for the
 remoteFilePath.sessionFactory - the SessionFactory.command - the command to perform on the FTP.expression - the remoteFilePath SpEL expression.SftpOutboundGatewaySpecRemoteFileTemplatepublic static SftpOutboundGatewaySpec outboundGateway(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate, AbstractRemoteFileOutboundGateway.Command command, String expression)
SftpOutboundGatewaySpec based on the RemoteFileTemplate,
 AbstractRemoteFileOutboundGateway.Command and expression for the remoteFilePath.remoteFileTemplate - the RemoteFileTemplate to be based on.command - the command to perform on the SFTP.expression - the remoteFilePath SpEL expression.SftpOutboundGatewaySpecRemoteFileTemplatepublic static SftpOutboundGatewaySpec outboundGateway(RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate, String command, String expression)
SftpOutboundGatewaySpec based on the RemoteFileTemplate,
 AbstractRemoteFileOutboundGateway.Command and expression for the remoteFilePath.remoteFileTemplate - the RemoteFileTemplate to be based on.command - the command to perform on the SFTP.expression - the remoteFilePath SpEL expression.SftpOutboundGatewaySpecRemoteFileTemplatepublic static SftpOutboundGatewaySpec outboundGateway(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, MessageSessionCallback<com.jcraft.jsch.ChannelSftp.LsEntry,?> messageSessionCallback)
SftpOutboundGatewaySpec based on the MessageSessionCallback.sessionFactory - the SessionFactory to connect to.messageSessionCallback - the MessageSessionCallback to perform SFTP operation(s)
                               with the Message context.SftpOutboundGatewaySpecMessageSessionCallback