- java.lang.Object
-
- com.io7m.changelog.xml.CXMLChangelogParsers
-
- All Implemented Interfaces:
CChangelogParserProviderType,CXMLChangelogParserProviderType
public final class CXMLChangelogParsers extends Object implements CXMLChangelogParserProviderType
A provider for changelog parsers.
-
-
Constructor Summary
Constructors Constructor Description CXMLChangelogParsers()Instantiate a parser provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CXMLChangelogParserTypecreate(URI uri, InputStream stream, Consumer<CParseError> receiver)Create a new parser.
-
-
-
Method Detail
-
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
-
-