public class FtpOutboundGateway
extends org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>
org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Command, org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway.Option
command, options
Constructor and Description |
---|
FtpOutboundGateway(org.springframework.integration.file.remote.session.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<org.springframework.integration.file.remote.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() |
protected java.lang.String |
getFilename(org.springframework.integration.file.remote.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, setFilter, setLocalDirectory, setLocalDirectoryExpression, setLocalFilenameGeneratorExpression, setMputFilter, setOptions, setRemoteFileSeparator, setRenameExpression, setTemporaryFileSuffix
doInvokeAdvisedRequestHandler, handleMessageInternal, hasAdviceChain, onInit, produceReply, setAdviceChain, setBeanClassLoader, setChannelResolver, setRequiresReply, shouldCopyRequestHeaders
getOutputChannel, setOutputChannel, setOutputChannelName, setSendTimeout
getOrder, handleMessage, setOrder, setShouldTrack
afterPropertiesSet, getApplicationContext, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toString
public FtpOutboundGateway(org.springframework.integration.file.remote.session.SessionFactory<org.apache.commons.net.ftp.FTPFile> sessionFactory, java.lang.String command, java.lang.String expression)
public java.lang.String getComponentType()
getComponentType
in interface org.springframework.integration.support.context.NamedComponent
getComponentType
in class org.springframework.integration.handler.AbstractMessageHandler
protected boolean isDirectory(org.apache.commons.net.ftp.FTPFile file)
isDirectory
in class org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>
protected boolean isLink(org.apache.commons.net.ftp.FTPFile file)
isLink
in class org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>
protected java.lang.String getFilename(org.apache.commons.net.ftp.FTPFile file)
getFilename
in class org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>
protected java.lang.String getFilename(org.springframework.integration.file.remote.AbstractFileInfo<org.apache.commons.net.ftp.FTPFile> file)
getFilename
in class org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>
protected long getModified(org.apache.commons.net.ftp.FTPFile file)
getModified
in class org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>
protected java.util.List<org.springframework.integration.file.remote.AbstractFileInfo<org.apache.commons.net.ftp.FTPFile>> asFileInfoList(java.util.Collection<org.apache.commons.net.ftp.FTPFile> files)
asFileInfoList
in class org.springframework.integration.file.remote.gateway.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 org.springframework.integration.file.remote.gateway.AbstractRemoteFileOutboundGateway<org.apache.commons.net.ftp.FTPFile>