Interface Node

  • All Known Implementing Classes:
    NodeImpl

    public interface Node
    Represents an entry inside an Archive. Indicates an empty directory if getAsset() returns null. May be the parent of child Nodes. Lives inside the Archive under the context denoted by getPath().
    • Method Detail

      • getAsset

        Asset getAsset()
        Returns:
        The Asset this node holds, null if it is an empty directory
      • getChildren

        java.util.Set<Node> getChildren()
        Returns:
        The child nodes of this node or, an empty set if it has no children or holds an asset. This method will never return null. The returned Set will be an immutable view.
      • getPath

        ArchivePath getPath()
        Returns:
        The path where this node is placed within the Archive