Class S3FileStore
- java.lang.Object
-
- org.craftercms.commons.file.stores.impl.AbstractProfileAwareRemoteFileStore<S3Profile>
-
- org.craftercms.commons.file.stores.impl.s3.S3FileStore
-
- All Implemented Interfaces:
RemoteFileStore
public class S3FileStore extends AbstractProfileAwareRemoteFileStore<S3Profile>
ARemoteFileStore
to S3.- Author:
- avasquez
-
-
Field Summary
Fields Modifier and Type Field Description protected S3ClientCachingFactory
clientFactory
-
Fields inherited from class org.craftercms.commons.file.stores.impl.AbstractProfileAwareRemoteFileStore
profileLoader
-
-
Constructor Summary
Constructors Constructor Description S3FileStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RemoteFile
doGetFile(ProfileAwareRemotePath path, S3Profile profile)
void
setClientFactory(S3ClientCachingFactory clientFactory)
-
Methods inherited from class org.craftercms.commons.file.stores.impl.AbstractProfileAwareRemoteFileStore
getFile, loadProfile, setProfileLoader
-
-
-
-
Field Detail
-
clientFactory
protected S3ClientCachingFactory clientFactory
-
-
Method Detail
-
setClientFactory
public void setClientFactory(S3ClientCachingFactory clientFactory)
-
doGetFile
protected RemoteFile doGetFile(ProfileAwareRemotePath path, S3Profile profile) throws IOException
- Specified by:
doGetFile
in classAbstractProfileAwareRemoteFileStore<S3Profile>
- Throws:
IOException
-
-