Class CloudObjectKey


  • public class CloudObjectKey
    extends Object
    Represents a key to an object in cloud storage.
    • Method Detail

      • getPrefix

        public String getPrefix()
        The common key prefix for an OCFL repository within a bucket, may be empty
        Returns:
        common key prefix for an OCFL repository within a bucket, may be empty
      • getPath

        public String getPath()
        The part of the object key that's under the common prefix
        Returns:
        part of the object key that's under the common prefix
      • getKey

        public String getKey()
        The composed object key that includes the prefix and the path
        Returns:
        composed object key that includes the prefix and the path
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object