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