public static UpdateSite read(InputStream is) throws IOException { try { return new UpdateSite(parser.parse(new XMLIOSource(is))); } finally { IOUtil.close(is); } }
public XMLIOSource (File file) throws IOException { super (toString (file)); }
public static UpdateSite read(InputStream is) throws IOException { try { return new UpdateSite(parser.parse(new XMLIOSource(is))); } finally { IOUtil.close(is); } }
public XMLIOSource (URL url) throws IOException { super (toString (url)); }
public static Feature read(InputStream input) throws IOException { try { return new Feature(parser.parse(new XMLIOSource(input))); } finally { IOUtil.close(input); } }
public XMLIOSource (Reader reader) throws IOException { super (toString (reader)); }
public static Feature read(InputStream input) throws IOException { try { return new Feature(parser.parse(new XMLIOSource(input))); } finally { IOUtil.close(input); } }
public static String toString (URL url) throws IOException { return toString (url.openStream ()); }
public static ProductConfiguration read(InputStream input) throws IOException { try { return new ProductConfiguration(parser.parse(new XMLIOSource(input))); } finally { IOUtil.close(input); } }
public static String toString (File file) throws IOException { InputStream in = new FileInputStream (file); return toString (in); }
public static ProductConfiguration read(InputStream input) throws IOException { try { return new ProductConfiguration(parser.parse(new XMLIOSource(input))); } finally { IOUtil.close(input); } }
result = toString (reader);
public static Category read(InputStream is) throws IOException { try { return new Category(parser.parse(new XMLIOSource(is))); } finally { IOUtil.close(is); } }
public static Category read(InputStream is) throws IOException { try { return new Category(parser.parse(new XMLIOSource(is))); } finally { IOUtil.close(is); } }
public static Target read( File file ) throws IOException { FileInputStream input = new FileInputStream( file ); try { return new Target( parser.parse( new XMLIOSource( input ) ) ); } finally { IOUtil.close( input ); } }
public static ProductConfiguration read( InputStream input ) throws IOException { try { return new ProductConfiguration( parser.parse( new XMLIOSource( input ) ) ); } finally { IOUtil.close( input ); } }
public static Feature read( InputStream input ) throws IOException { try { return new Feature( parser.parse( new XMLIOSource( input ) ) ); } finally { IOUtil.close( input ); } }
public static Category read( InputStream is ) throws IOException { try { return new Category( parser.parse( new XMLIOSource( is ) ) ); } finally { IOUtil.close( is ); } }
public static UpdateSite read( InputStream is ) throws IOException { try { return new UpdateSite( parser.parse( new XMLIOSource( is ) ) ); } finally { IOUtil.close( is ); } }
/** Convenience method to parse a file into XML. * @throws IOException */ public static Document parse (File file) throws IOException { XMLIOSource source = new XMLIOSource (file); XMLParser parser = new XMLParser (); return parser.parse (source); } }