public class FtpOutboundGateway extends AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>
AbstractRemoteFileOutboundGateway.Command, AbstractRemoteFileOutboundGateway.Option
AbstractReplyProducingMessageHandler.RequestHandler
command, options
messagingTemplate
logger
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
FtpOutboundGateway(SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory,
java.lang.String command,
java.lang.String expression) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<AbstractFileInfo<org.apache.commons.net.ftp.FTPFile>> |
asFileInfoList(java.util.Collection<org.apache.commons.net.ftp.FTPFile> files) |
protected org.apache.commons.net.ftp.FTPFile |
enhanceNameWithSubDirectory(org.apache.commons.net.ftp.FTPFile file,
java.lang.String directory) |
java.lang.String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
protected java.lang.String |
getFilename(AbstractFileInfo<org.apache.commons.net.ftp.FTPFile> file) |
protected java.lang.String |
getFilename(org.apache.commons.net.ftp.FTPFile file) |
protected long |
getModified(org.apache.commons.net.ftp.FTPFile file) |
protected boolean |
isDirectory(org.apache.commons.net.ftp.FTPFile file) |
protected boolean |
isLink(org.apache.commons.net.ftp.FTPFile file) |
doInit, filterFiles, filterMputFiles, get, getRemoteFilename, handleRequestMessage, ls, mGet, purgeDots, purgeLinks, setAutoCreateLocalDirectory, setExpressionRename, setFilter, setLocalDirectory, setLocalDirectoryExpression, setLocalFilenameGeneratorExpression, setMputFilter, setOptions, setRemoteFileSeparator, setRenameExpression, setTemporaryFileSuffix
doInvokeAdvisedRequestHandler, handleMessageInternal, hasAdviceChain, onInit, setAdviceChain, setBeanClassLoader, setRequiresReply
getOutputChannel, produceOutput, sendOutputs, setChannelResolver, setOutputChannel, setOutputChannelName, setSendTimeout, shouldCopyRequestHeaders, shouldSplitOutput
getOrder, handleMessage, setOrder, setShouldTrack
afterPropertiesSet, extractTypeIfPossible, getApplicationContext, 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 FtpOutboundGateway(SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory, java.lang.String command, java.lang.String expression)
public java.lang.String getComponentType()
IntegrationObjectSupport
getComponentType
in interface NamedComponent
getComponentType
in class AbstractMessageHandler
protected boolean isDirectory(org.apache.commons.net.ftp.FTPFile file)
isDirectory
in class AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>
protected boolean isLink(org.apache.commons.net.ftp.FTPFile file)
isLink
in class AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>
protected java.lang.String getFilename(org.apache.commons.net.ftp.FTPFile file)
getFilename
in class AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>
protected java.lang.String getFilename(AbstractFileInfo<org.apache.commons.net.ftp.FTPFile> file)
getFilename
in class AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>
protected long getModified(org.apache.commons.net.ftp.FTPFile file)
getModified
in class AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>
protected java.util.List<AbstractFileInfo<org.apache.commons.net.ftp.FTPFile>> asFileInfoList(java.util.Collection<org.apache.commons.net.ftp.FTPFile> files)
asFileInfoList
in class AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>
protected org.apache.commons.net.ftp.FTPFile enhanceNameWithSubDirectory(org.apache.commons.net.ftp.FTPFile file, java.lang.String directory)
enhanceNameWithSubDirectory
in class AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>