public class SftpRemoteFileTemplate
extends org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry>
RemoteFileTemplate providing type-safe access to
the underlying ChannelSftp object.| Constructor and Description |
|---|
SftpRemoteFileTemplate(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
doExecuteWithClient(org.springframework.integration.file.remote.ClientCallback<com.jcraft.jsch.ChannelSftp,T> callback) |
<T,C> T |
executeWithClient(org.springframework.integration.file.remote.ClientCallback<C,T> callback) |
afterPropertiesSet, append, append, execute, exists, get, get, getRemoteFileSeparator, getSession, getSessionFactory, getTemporaryFileSuffix, invoke, isUseTemporaryFileName, list, remove, rename, send, send, setAutoCreateDirectory, setBeanFactory, setCharset, setFileNameExpression, setFileNameGenerator, setRemoteDirectoryExpression, setRemoteFileSeparator, setTemporaryFileSuffix, setTemporaryRemoteDirectoryExpression, setUseTemporaryFileNamepublic SftpRemoteFileTemplate(org.springframework.integration.file.remote.session.SessionFactory<com.jcraft.jsch.ChannelSftp.LsEntry> sessionFactory)
public <T,C> T executeWithClient(org.springframework.integration.file.remote.ClientCallback<C,T> callback)
executeWithClient in interface org.springframework.integration.file.remote.RemoteFileOperations<com.jcraft.jsch.ChannelSftp.LsEntry>executeWithClient in class org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry>protected <T> T doExecuteWithClient(org.springframework.integration.file.remote.ClientCallback<com.jcraft.jsch.ChannelSftp,T> callback)