Class CloudObjectKey
- java.lang.Object
-
- edu.wisc.library.ocfl.core.storage.cloud.CloudObjectKey
-
public class CloudObjectKey extends Object
Represents a key to an object in cloud storage.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCloudObjectKey.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CloudObjectKey.Builderbuilder()booleanequals(Object o)StringgetKey()The composed object key that includes the prefix and the pathStringgetPath()The part of the object key that's under the common prefixStringgetPrefix()The common key prefix for an OCFL repository within a bucket, may be emptyinthashCode()StringtoString()
-
-
-
Method Detail
-
builder
public static CloudObjectKey.Builder builder()
-
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
-
-