Module com.io7m.changelog.text.api
Package com.io7m.changelog.text.api
Interface CPlainChangelogWriterProviderType
-
- All Superinterfaces:
CChangelogWriterProviderType
- All Known Implementing Classes:
CPlainChangelogWriters
public interface CPlainChangelogWriterProviderType extends CChangelogWriterProviderType
The type of writer providers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CPlainChangelogWriterTypecreate(URI uri, OutputStream stream)Create a new writer.CPlainChangelogWriterTypecreateWithConfiguration(CPlainChangelogWriterConfiguration config, URI uri, OutputStream stream)Create a writer with the given configuration.
-
-
-
Method Detail
-
create
default CPlainChangelogWriterType create(URI uri, OutputStream stream) throws IOException
Description 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:
IOException- On I/O errors
-
createWithConfiguration
CPlainChangelogWriterType createWithConfiguration(CPlainChangelogWriterConfiguration config, URI uri, OutputStream stream) throws IOException
Create a writer with the given configuration.- Parameters:
config- The configurationuri- The URI for diagnostic purposesstream- The output stream- Returns:
- A writer
- Throws:
IOException- On I/O errors
-
-