Package org.craftercms.engine.store.s3
Class S3File
- java.lang.Object
-
- org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
-
- org.craftercms.engine.store.s3.S3File
-
- All Implemented Interfaces:
org.craftercms.core.store.impl.File
,org.craftercms.core.util.cache.CachingAwareObject
public class S3File extends org.craftercms.core.util.cache.impl.AbstractCachingAwareObject implements org.craftercms.core.store.impl.File
Implementations ofFile
for AWS S3 items.- Author:
- joseross
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
String
getName()
String
getPath()
boolean
isDirectory()
boolean
isFile()
String
toString()
-
-
-
Field Detail
-
key
protected String key
The S3 key.
-
-
Constructor Detail
-
S3File
public S3File(String key)
-
-
Method Detail
-
getKey
public String getKey()
- Specified by:
getKey
in interfaceorg.craftercms.core.util.cache.CachingAwareObject
- Overrides:
getKey
in classorg.craftercms.core.util.cache.impl.AbstractCachingAwareObject
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.craftercms.core.store.impl.File
-
getPath
public String getPath()
- Specified by:
getPath
in interfaceorg.craftercms.core.store.impl.File
-
isFile
public boolean isFile()
- Specified by:
isFile
in interfaceorg.craftercms.core.store.impl.File
-
isDirectory
public boolean isDirectory()
- Specified by:
isDirectory
in interfaceorg.craftercms.core.store.impl.File
-
-