Class S3Prefix

java.lang.Object
org.craftercms.core.util.cache.impl.AbstractCachingAwareObject
org.craftercms.engine.store.s3.S3Prefix
All Implemented Interfaces:
org.craftercms.core.store.impl.File, org.craftercms.core.util.cache.CachingAwareObject

public class S3Prefix extends org.craftercms.core.util.cache.impl.AbstractCachingAwareObject implements org.craftercms.core.store.impl.File
Implementation of File for AWS S3 prefixes (used as folders).
Author:
joseross
  • Field Details

    • prefix

      protected String prefix
      The full prefix.
  • Constructor Details

    • S3Prefix

      public S3Prefix(String prefix)
  • Method Details

    • getPrefix

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