Package com.io7m.changelog.xml.api
Interface CAtomChangelogWriterProviderType
- All Superinterfaces:
CChangelogWriterProviderType
- All Known Implementing Classes:
CAtomChangelogWriters
public interface CAtomChangelogWriterProviderType extends CChangelogWriterProviderType
The type of Atom writer providers.
-
Method Summary
Modifier and Type Method Description default CChangelogWriterTypecreate(java.net.URI uri, java.io.OutputStream stream)Create a new writer.CAtomChangelogWriterTypecreateWithConfiguration(CAtomChangelogWriterConfiguration configuration, java.net.URI uri, java.io.OutputStream stream)Create a writer with the given configuration.
-
Method Details
-
create
default CChangelogWriterType create(java.net.URI uri, java.io.OutputStream stream) throws java.io.IOExceptionDescription copied from interface:CChangelogWriterProviderTypeCreate a new writer.- Specified by:
createin interfaceCChangelogWriterProviderType- Parameters:
uri- The URI of the stream, for diagnostic messagesstream- The stream- Returns:
- A new writer
- Throws:
java.io.IOException- On I/O errors
-
createWithConfiguration
CAtomChangelogWriterType createWithConfiguration(CAtomChangelogWriterConfiguration configuration, java.net.URI uri, java.io.OutputStream stream) throws java.io.IOExceptionCreate a writer with the given configuration.- Parameters:
configuration- The atom feed configurationuri- The output URI, for diagnostic purposesstream- The output stream- Returns:
- A writer
- Throws:
java.io.IOException- On I/O errors
-