Class 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 Detail

      • DirectoryListing

        public DirectoryListing()
    • Method Detail

      • getPath

        public String getPath()
        The object key prefix
        Returns:
        object key prefix
      • 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