public final class Ftp
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static FtpInboundChannelAdapterSpec |
inboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory)
A
FtpInboundChannelAdapterSpec factory for an inbound channel adapter spec. |
static FtpInboundChannelAdapterSpec |
inboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory,
java.util.Comparator<java.io.File> receptionOrderComparator)
A
FtpInboundChannelAdapterSpec factory for an inbound channel adapter spec. |
static FtpStreamingInboundChannelAdapterSpec |
inboundStreamingAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate)
A
FtpStreamingInboundChannelAdapterSpec factory for an inbound channel
adapter spec. |
static FtpStreamingInboundChannelAdapterSpec |
inboundStreamingAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate,
java.util.Comparator<org.apache.commons.net.ftp.FTPFile> receptionOrderComparator)
A
FtpStreamingInboundChannelAdapterSpec factory for an inbound channel
adapter spec. |
static FtpMessageHandlerSpec |
outboundAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate)
A
FtpMessageHandlerSpec factory for an outbound channel adapter spec. |
static FtpMessageHandlerSpec |
outboundAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate,
org.springframework.integration.file.support.FileExistsMode fileExistsMode)
A
FtpMessageHandlerSpec factory for an outbound channel adapter spec. |
static FtpMessageHandlerSpec |
outboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory)
A
FtpMessageHandlerSpec factory for an outbound channel adapter spec. |
static FtpMessageHandlerSpec |
outboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory,
org.springframework.integration.file.support.FileExistsMode fileExistsMode)
A
FtpMessageHandlerSpec factory for an outbound channel adapter spec. |
static FtpOutboundGatewaySpec |
outboundGateway(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate,
org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Command command,
java.lang.String expression)
Produce a
FtpOutboundGatewaySpec based on the RemoteFileTemplate,
AbstractRemoteFileOutboundGateway.Command and expression for the
remoteFilePath. |
static FtpOutboundGatewaySpec |
outboundGateway(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate,
java.lang.String command,
java.lang.String expression)
Produce a
FtpOutboundGatewaySpec based on the RemoteFileTemplate,
AbstractRemoteFileOutboundGateway.Command and expression for the
remoteFilePath. |
static FtpOutboundGatewaySpec |
outboundGateway(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory,
org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Command command,
java.lang.String expression)
Produce a
FtpOutboundGatewaySpec based on the SessionFactory,
AbstractRemoteFileOutboundGateway.Command and expression for the
remoteFilePath. |
static FtpOutboundGatewaySpec |
outboundGateway(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory,
org.springframework.integration.file.remote.MessageSessionCallback<org.apache.commons.net.ftp.FTPFile,?> messageSessionCallback)
Produce a
FtpOutboundGatewaySpec based on the
MessageSessionCallback. |
static FtpOutboundGatewaySpec |
outboundGateway(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory,
java.lang.String command,
java.lang.String expression)
Produce a
FtpOutboundGatewaySpec based on the SessionFactory,
AbstractRemoteFileOutboundGateway.Command and expression for the
remoteFilePath. |
public static FtpInboundChannelAdapterSpec inboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory)
FtpInboundChannelAdapterSpec factory for an inbound channel adapter spec.sessionFactory - the session factory.public static FtpInboundChannelAdapterSpec inboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory, java.util.Comparator<java.io.File> receptionOrderComparator)
FtpInboundChannelAdapterSpec factory for an inbound channel adapter spec.sessionFactory - the session factory.receptionOrderComparator - the comparator.public static FtpStreamingInboundChannelAdapterSpec inboundStreamingAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate)
FtpStreamingInboundChannelAdapterSpec factory for an inbound channel
adapter spec.remoteFileTemplate - the remote file template.public static FtpStreamingInboundChannelAdapterSpec inboundStreamingAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate, java.util.Comparator<org.apache.commons.net.ftp.FTPFile> receptionOrderComparator)
FtpStreamingInboundChannelAdapterSpec factory for an inbound channel
adapter spec.remoteFileTemplate - the remote file template.receptionOrderComparator - the comparator.public static FtpMessageHandlerSpec outboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory)
FtpMessageHandlerSpec factory for an outbound channel adapter spec.sessionFactory - the session factory.public static FtpMessageHandlerSpec outboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory, org.springframework.integration.file.support.FileExistsMode fileExistsMode)
FtpMessageHandlerSpec factory for an outbound channel adapter spec.sessionFactory - the session factory.fileExistsMode - the file exists mode.public static FtpMessageHandlerSpec outboundAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate)
FtpMessageHandlerSpec factory for an outbound channel adapter spec.remoteFileTemplate - the remote file template.public static FtpMessageHandlerSpec outboundAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate, org.springframework.integration.file.support.FileExistsMode fileExistsMode)
FtpMessageHandlerSpec factory for an outbound channel adapter spec.remoteFileTemplate - the remote file template.fileExistsMode - the file exists mode.public static FtpOutboundGatewaySpec outboundGateway(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory, org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Command command, java.lang.String expression)
FtpOutboundGatewaySpec 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.FtpOutboundGatewaySpecpublic static FtpOutboundGatewaySpec outboundGateway(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory, java.lang.String command, java.lang.String expression)
FtpOutboundGatewaySpec 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.FtpOutboundGatewaySpecRemoteFileTemplatepublic static FtpOutboundGatewaySpec outboundGateway(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate, org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Command command, java.lang.String expression)
FtpOutboundGatewaySpec based on the RemoteFileTemplate,
AbstractRemoteFileOutboundGateway.Command and expression for the
remoteFilePath.remoteFileTemplate - the RemoteFileTemplate.command - the command to perform on the FTP.expression - the remoteFilePath SpEL expression.FtpOutboundGatewaySpecRemoteFileTemplatepublic static FtpOutboundGatewaySpec outboundGateway(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate, java.lang.String command, java.lang.String expression)
FtpOutboundGatewaySpec based on the RemoteFileTemplate,
AbstractRemoteFileOutboundGateway.Command and expression for the
remoteFilePath.remoteFileTemplate - the RemoteFileTemplate.command - the command to perform on the FTP.expression - the remoteFilePath SpEL expression.FtpOutboundGatewaySpecRemoteFileTemplatepublic static FtpOutboundGatewaySpec outboundGateway(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory, org.springframework.integration.file.remote.MessageSessionCallback<org.apache.commons.net.ftp.FTPFile,?> messageSessionCallback)
FtpOutboundGatewaySpec based on the
MessageSessionCallback.sessionFactory - the SessionFactory to connect to.messageSessionCallback - the MessageSessionCallback to perform SFTP
operation(s) with the Message context.FtpOutboundGatewaySpecMessageSessionCallback