/** * 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); }
/** * 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); }