Ejemplo n.º 1
0
 /**
  * Returns the node where the file can be found.
  *
  * @param filename Filename in String format.
  * @return The file owner.
  */
 public Node getFileLocation(String filename) {
   return nodeManager.getNodeList().getFileLocation(filename);
 }
Ejemplo n.º 2
0
 /**
  * Saves a node to file.
  *
  * @param fileLocation Location in String format.
  * @return True if successful, false otherwise.
  */
 public boolean saveNodeList(String fileLocation) {
   return fileManager.saveXMLFile(nodeManager.getNodeList(), fileLocation);
 }