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
Direct Known Subclasses:
S3Object

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

    • bucketName

      protected String bucketName
      The S3 bucket name.
    • key

      protected String key
      The S3 key.
  • Constructor Details

  • Method Details

    • getBucketName

      public String getBucketName()
    • 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