Class Entry

  • Direct Known Subclasses:
    Leaf, Node


    public class Entry
    extends Object
    The base class for entries within the file tree.
    • Method Detail

      • getTreePath

        public TreePath getTreePath()
        Retrieve the TreePath.
        Returns:
        the path within the tree.
      • getParent

        public Node getParent()
        Get the node this entry is a child of.
        Returns:
        the parent node.
      • getPath

        public List<Entry> getPath()
        Get the path within the tree to this Entry as a list of entries.
        Returns:
        a list of entries.
      • getNamespace

        public String getNamespace()
        Get the unique namespace that describes the path to this Entry as a string.
        Returns:
        the namespace representing this entry's path.