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 of File for AWS S3 items.
Author:
joseross
  • Field Details

    • key

      protected String key
      The S3 key.
  • Constructor Details

    • S3File

      public S3File(String key)
  • Method Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object