Exemplo n.º 1
0
 /**
  * Returns the full path (starting at the root) of this node
  *
  * @return
  */
 public Path getFullPath() {
   if (parent == null) {
     return Paths.get("");
   } else {
     return Paths.get(parent.getFullPath().toString(), getName());
   }
 }