Class ListResult.DirectoryListing
- java.lang.Object
-
- edu.wisc.library.ocfl.core.storage.cloud.ListResult.DirectoryListing
-
- Enclosing class:
- ListResult
public static class ListResult.DirectoryListing extends Object
Encapsulates a virtual directory. Directories do not exist in object stores. This object represents an object key prefix.
-
-
Constructor Summary
Constructors Constructor Description DirectoryListing()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Return the virtual name of the directory.StringgetPath()The object key prefixListResult.DirectoryListingsetPath(String path)StringtoString()
-
-
-
Method Detail
-
getPath
public String getPath()
The object key prefix- Returns:
- object key prefix
-
setPath
public ListResult.DirectoryListing setPath(String path)
-
getName
public String getName()
Return the virtual name of the directory. For example, if the path is `a/b/`, then the name is `b`.- Returns:
- directory name
-
-