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) |
static FtpInboundChannelAdapterSpec |
inboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory,
java.util.Comparator<java.io.File> receptionOrderComparator) |
static FtpMessageHandlerSpec |
outboundAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate) |
static FtpMessageHandlerSpec |
outboundAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate,
org.springframework.integration.file.support.FileExistsMode fileExistsMode) |
static FtpMessageHandlerSpec |
outboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory) |
static FtpMessageHandlerSpec |
outboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory,
org.springframework.integration.file.support.FileExistsMode fileExistsMode) |
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) |
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) |
public static FtpInboundChannelAdapterSpec inboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory)
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)
public static FtpMessageHandlerSpec outboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory)
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)
public static FtpMessageHandlerSpec outboundAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate)
public static FtpMessageHandlerSpec outboundAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<org.apache.commons.net.ftp.FTPFile> remoteFileTemplate, org.springframework.integration.file.support.FileExistsMode fileExistsMode)
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)
public 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)
public 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
to be based on.command
- the command to perform on the FTP.expression
- the remoteFilePath SpEL expression.FtpOutboundGatewaySpec
RemoteFileTemplate
public 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
to be based on.command
- the command to perform on the FTP.expression
- the remoteFilePath SpEL expression.FtpOutboundGatewaySpec
RemoteFileTemplate
public 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.FtpOutboundGatewaySpec
MessageSessionCallback