Class 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 of File for AWS S3 items.
    Author:
    joseross
    • 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 interface org.craftercms.core.util.cache.CachingAwareObject
        Overrides:
        getKey in class org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
      • getName

        public String getName()
        Specified by:
        getName in interface org.craftercms.core.store.impl.File
      • getPath

        public String getPath()
        Specified by:
        getPath in interface org.craftercms.core.store.impl.File
      • isFile

        public boolean isFile()
        Specified by:
        isFile in interface org.craftercms.core.store.impl.File
      • isDirectory

        public boolean isDirectory()
        Specified by:
        isDirectory in interface org.craftercms.core.store.impl.File