Esempio n. 1
0
 public static GoTree parse(String uri) throws IOException, XMLStreamException {
   BufferedReader r = IOUtils.openURIForBufferedReading(uri);
   GoTree t = parse(r);
   r.close();
   return t;
 }
Esempio n. 2
0
 public static GoTree parse(File file) throws IOException, XMLStreamException {
   BufferedReader r = IOUtils.openFileForBufferedReading(file);
   GoTree t = parse(r);
   r.close();
   return t;
 }