public final class CChangelogXMLReader extends Object
| Modifier and Type | Method and Description |
|---|---|
static CChangelog |
readFromStream(URI uri,
InputStream stream)
Construct a changelog from the given URI.
|
static CChangelog |
readFromURI(URI uri)
Construct a changelog from the given URI.
|
public static CChangelog readFromStream(URI uri, InputStream stream) throws SAXException, ParserConfigurationException, nu.xom.ValidityException, nu.xom.ParsingException, IOException, URISyntaxException, ParseException
uri - The URIstream - The streamSAXException - On XML parse errorsParserConfigurationException - On parser configuration errorsnu.xom.ValidityException - On XML validation errorsnu.xom.ParsingException - On parser errorsIOException - On I/O errorsURISyntaxException - If a URI is malformedParseException - If a value cannot be parsed as a datepublic static CChangelog readFromURI(URI uri) throws MalformedURLException, IOException, nu.xom.ValidityException, SAXException, ParserConfigurationException, nu.xom.ParsingException, URISyntaxException, ParseException
uri - The URISAXException - On XML parse errorsParserConfigurationException - On parser configuration errorsnu.xom.ValidityException - On XML validation errorsnu.xom.ParsingException - On parser errorsIOException - On I/O errorsMalformedURLException - If a URL is malformedURISyntaxException - If a URI is malformedParseException - If a value cannot be parsed as a dateCopyright © 2015 <code@io7m.com> http://io7m.com