public class SftpOutboundGateway extends AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>
AbstractRemoteFileOutboundGateway.Command, AbstractRemoteFileOutboundGateway.Option
AbstractReplyProducingMessageHandler.RequestHandler
command, options
logger
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
SftpOutboundGateway(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory,
String command,
String expression) |
Modifier and Type | Method and Description |
---|---|
protected List<AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>> |
asFileInfoList(Collection<com.jcraft.jsch.ChannelSftp.LsEntry> files) |
protected com.jcraft.jsch.ChannelSftp.LsEntry |
enhanceNameWithSubDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file,
String directory) |
String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
protected String |
getFilename(AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry> file) |
protected String |
getFilename(com.jcraft.jsch.ChannelSftp.LsEntry file) |
protected long |
getModified(com.jcraft.jsch.ChannelSftp.LsEntry file) |
protected boolean |
isDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file) |
protected boolean |
isLink(com.jcraft.jsch.ChannelSftp.LsEntry file) |
doInit, filterFiles, filterMputFiles, get, getRemoteFilename, handleRequestMessage, ls, mGet, purgeDots, purgeLinks, setAutoCreateLocalDirectory, setFilter, setLocalDirectory, setLocalDirectoryExpression, setLocalFilenameGeneratorExpression, setMputFilter, setOptions, setRemoteFileSeparator, setRenameExpression, setTemporaryFileSuffix
doInvokeAdvisedRequestHandler, getMessagingTemplate, handleMessageInternal, hasAdviceChain, onInit, setAdviceChain, setBeanClassLoader, setChannelResolver, setOutputChannel, setOutputChannelName, setRequiresReply, setSendTimeout, shouldCopyRequestHeaders
getOrder, handleMessage, setOrder, setShouldTrack
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentName
public SftpOutboundGateway(SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory, String command, String expression)
protected boolean isDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file)
isDirectory
in class AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>
protected boolean isLink(com.jcraft.jsch.ChannelSftp.LsEntry file)
isLink
in class AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>
protected String getFilename(com.jcraft.jsch.ChannelSftp.LsEntry file)
getFilename
in class AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>
protected String getFilename(AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry> file)
getFilename
in class AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>
protected List<AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>> asFileInfoList(Collection<com.jcraft.jsch.ChannelSftp.LsEntry> files)
asFileInfoList
in class AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>
protected long getModified(com.jcraft.jsch.ChannelSftp.LsEntry file)
getModified
in class AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>
protected com.jcraft.jsch.ChannelSftp.LsEntry enhanceNameWithSubDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file, String directory)
enhanceNameWithSubDirectory
in class AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>
public String getComponentType()
IntegrationObjectSupport
getComponentType
in interface NamedComponent
getComponentType
in class AbstractMessageHandler