public abstract class Sftp
extends java.lang.Object
Constructor and Description |
---|
Sftp() |
Modifier and Type | Method and Description |
---|---|
static SftpInboundChannelAdapterSpec |
inboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory) |
static SftpInboundChannelAdapterSpec |
inboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory,
java.util.Comparator<java.io.File> receptionOrderComparator) |
static SftpMessageHandlerSpec |
outboundAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate) |
static SftpMessageHandlerSpec |
outboundAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate,
org.springframework.integration.file.support.FileExistsMode fileExistsMode) |
static SftpMessageHandlerSpec |
outboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory) |
static SftpMessageHandlerSpec |
outboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory,
org.springframework.integration.file.support.FileExistsMode fileExistsMode) |
static SftpOutboundGatewaySpec |
outboundGateway(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate,
org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Command command,
java.lang.String expression)
Produce a
SftpOutboundGatewaySpec based on the RemoteFileTemplate ,
AbstractRemoteFileOutboundGateway.Command and expression for the remoteFilePath. |
static SftpOutboundGatewaySpec |
outboundGateway(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate,
java.lang.String command,
java.lang.String expression)
Produce a
SftpOutboundGatewaySpec based on the RemoteFileTemplate ,
AbstractRemoteFileOutboundGateway.Command and expression for the remoteFilePath. |
static SftpOutboundGatewaySpec |
outboundGateway(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory,
org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Command command,
java.lang.String expression) |
static SftpOutboundGatewaySpec |
outboundGateway(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory,
org.springframework.integration.file.remote.MessageSessionCallback<com.jcraft.jsch.ChannelSftp.LsEntry,?> messageSessionCallback)
Produce a
SftpOutboundGatewaySpec based on the MessageSessionCallback . |
static SftpOutboundGatewaySpec |
outboundGateway(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory,
java.lang.String command,
java.lang.String expression) |
public static SftpInboundChannelAdapterSpec inboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory)
public static SftpInboundChannelAdapterSpec inboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, java.util.Comparator<java.io.File> receptionOrderComparator)
public static SftpMessageHandlerSpec outboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory)
public static SftpMessageHandlerSpec outboundAdapter(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, org.springframework.integration.file.support.FileExistsMode fileExistsMode)
public static SftpMessageHandlerSpec outboundAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate)
public static SftpMessageHandlerSpec outboundAdapter(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate, org.springframework.integration.file.support.FileExistsMode fileExistsMode)
public static SftpOutboundGatewaySpec outboundGateway(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Command command, java.lang.String expression)
public static SftpOutboundGatewaySpec outboundGateway(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, java.lang.String command, java.lang.String expression)
public static SftpOutboundGatewaySpec outboundGateway(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate, org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Command command, java.lang.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.SftpOutboundGatewaySpec
RemoteFileTemplate
public static SftpOutboundGatewaySpec outboundGateway(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate, java.lang.String command, java.lang.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.SftpOutboundGatewaySpec
RemoteFileTemplate
public static SftpOutboundGatewaySpec outboundGateway(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, org.springframework.integration.file.remote.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.SftpOutboundGatewaySpec
MessageSessionCallback