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) |
boolean |
exists(java.lang.String path) |
afterPropertiesSet, append, append, execute, get, get, getRemoteFileSeparator, getTemporaryFileSuffix, isUseTemporaryFileName, remove, rename, send, send, setAutoCreateDirectory, setBeanFactory, setCharset, setFileNameExpression, setFileNameGenerator, setRemoteDirectoryExpression, setRemoteFileSeparator, setTemporaryFileSuffix, setTemporaryRemoteDirectoryExpression, setUseTemporaryFileName
public 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)
public boolean exists(java.lang.String path)
exists
in interface org.springframework.integration.file.remote.RemoteFileOperations<com.jcraft.jsch.ChannelSftp.LsEntry>
exists
in class org.springframework.integration.file.remote.RemoteFileTemplate<com.jcraft.jsch.ChannelSftp.LsEntry>