public FileTreeNode(Path parent) throws SecurityException, FileNotFoundException {
  if (parent == null) {
    throw new FileNotFoundException();
  }
  this.name=parent.toString();
  Path pathPath=parent;
  path=pathPath.toString();
  isDir=true;
  isRoot=true;
  setUserObject(this.name);
}

public FileTreeNode ( Path parent ) throws SecurityException , FileNotFoundException { if ( parent == null ) { throw new FileNotFoundException ( ) ; } this . name = parent . toString ( ) ; Path pathPath = parent ; path = pathPath . toString ( ) ; isDir = true ; isRoot = true ; setUserObject ( this . name ) ; }
instantiates a new file tree node for a root folder .
