public class SftpOutboundGateway
extends org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>
org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Command, org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Optioncommand, options| Constructor and Description |
|---|
SftpOutboundGateway(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate,
java.lang.String command,
java.lang.String expression) |
SftpOutboundGateway(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory,
java.lang.String command,
java.lang.String expression) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<org.springframework.integration.file.remote.AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>> |
asFileInfoList(java.util.Collection<com.jcraft.jsch.ChannelSftp.LsEntry> files) |
protected com.jcraft.jsch.ChannelSftp.LsEntry |
enhanceNameWithSubDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file,
java.lang.String directory) |
java.lang.String |
getComponentType() |
protected java.lang.String |
getFilename(org.springframework.integration.file.remote.AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry> file) |
protected java.lang.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, setExpressionRename, setFileExistsMode, setFilter, setLocalDirectory, setLocalDirectoryExpression, setLocalFilenameGeneratorExpression, setMputFilter, setOptions, setRemoteFileSeparator, setRenameExpression, setTemporaryFileSuffixdoInvokeAdvisedRequestHandler, handleMessageInternal, hasAdviceChain, onInit, setAdviceChain, setBeanClassLoader, setRequiresReplygetOutputChannel, produceOutput, sendOutputs, setOutputChannel, setOutputChannelName, setSendTimeout, shouldCopyRequestHeaders, shouldSplitOutputgetOrder, handleMessage, setOrder, setShouldTrackafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toStringpublic SftpOutboundGateway(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory,
java.lang.String command,
java.lang.String expression)
public SftpOutboundGateway(org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry> remoteFileTemplate,
java.lang.String command,
java.lang.String expression)
protected boolean isDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file)
isDirectory in class org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>protected boolean isLink(com.jcraft.jsch.ChannelSftp.LsEntry file)
isLink in class org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>protected java.lang.String getFilename(com.jcraft.jsch.ChannelSftp.LsEntry file)
getFilename in class org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>protected java.lang.String getFilename(org.springframework.integration.file.remote.AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry> file)
getFilename in class org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>protected java.util.List<org.springframework.integration.file.remote.AbstractFileInfo<com.jcraft.jsch.ChannelSftp.LsEntry>> asFileInfoList(java.util.Collection<com.jcraft.jsch.ChannelSftp.LsEntry> files)
asFileInfoList in class org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>protected long getModified(com.jcraft.jsch.ChannelSftp.LsEntry file)
getModified in class org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>protected com.jcraft.jsch.ChannelSftp.LsEntry enhanceNameWithSubDirectory(com.jcraft.jsch.ChannelSftp.LsEntry file,
java.lang.String directory)
enhanceNameWithSubDirectory in class org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<com.jcraft.jsch.ChannelSftp.LsEntry>public java.lang.String getComponentType()
getComponentType in interface org.springframework.integration.support.context.NamedComponentgetComponentType in class org.springframework.integration.handler.AbstractMessageHandler