Package com.io7m.changelog.xml
Class CXMLChangelogParsers
java.lang.Object
com.io7m.changelog.xml.CXMLChangelogParsers
- All Implemented Interfaces:
CChangelogParserProviderType,CXMLChangelogParserProviderType
A provider for changelog parsers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(URI uri, InputStream stream, Consumer<CParseError> receiver) Create a new parser.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.io7m.changelog.xml.api.CXMLChangelogParserProviderType
parse
-
Constructor Details
-
CXMLChangelogParsers
public CXMLChangelogParsers()Instantiate a parser provider.
-
-
Method Details
-
create
public CXMLChangelogParserType create(URI uri, InputStream stream, Consumer<CParseError> receiver) throws IOException Description copied from interface:CChangelogParserProviderTypeCreate a new parser.- Specified by:
createin interfaceCChangelogParserProviderType- Specified by:
createin interfaceCXMLChangelogParserProviderType- Parameters:
uri- The URI of the stream, for diagnostic messagesstream- The streamreceiver- A receiver for errors- Returns:
- A new parser
- Throws:
IOException- On I/O errors
-