public class S3RemoteFileTemplate
extends org.springframework.integration.file.remote.RemoteFileTemplate<com.amazonaws.services.s3.model.S3ObjectSummary>
RemoteFileTemplate
extension.Constructor and Description |
---|
S3RemoteFileTemplate() |
S3RemoteFileTemplate(com.amazonaws.services.s3.AmazonS3 amazonS3) |
S3RemoteFileTemplate(org.springframework.integration.file.remote.session.SessionFactory<com.amazonaws.services.s3.model.S3ObjectSummary> sessionFactory)
Construct a
RemoteFileTemplate with the supplied session factory. |
Modifier and Type | Method and Description |
---|---|
<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, getSession, getSessionFactory, getTemporaryFileSuffix, invoke, isUseTemporaryFileName, list, remove, rename, send, send, setAutoCreateDirectory, setBeanFactory, setCharset, setFileNameExpression, setFileNameGenerator, setRemoteDirectoryExpression, setRemoteFileSeparator, setTemporaryFileSuffix, setTemporaryRemoteDirectoryExpression, setUseTemporaryFileName
public S3RemoteFileTemplate()
public S3RemoteFileTemplate(com.amazonaws.services.s3.AmazonS3 amazonS3)
public S3RemoteFileTemplate(org.springframework.integration.file.remote.session.SessionFactory<com.amazonaws.services.s3.model.S3ObjectSummary> sessionFactory)
RemoteFileTemplate
with the supplied session factory.sessionFactory
- the session factory.public <T,C> T executeWithClient(org.springframework.integration.file.remote.ClientCallback<C,T> callback)
executeWithClient
in interface org.springframework.integration.file.remote.RemoteFileOperations<com.amazonaws.services.s3.model.S3ObjectSummary>
executeWithClient
in class org.springframework.integration.file.remote.RemoteFileTemplate<com.amazonaws.services.s3.model.S3ObjectSummary>
public boolean exists(java.lang.String path)
exists
in interface org.springframework.integration.file.remote.RemoteFileOperations<com.amazonaws.services.s3.model.S3ObjectSummary>
exists
in class org.springframework.integration.file.remote.RemoteFileTemplate<com.amazonaws.services.s3.model.S3ObjectSummary>