Package com.io7m.jspiel.vanilla
Class RiffWriters
java.lang.Object
com.io7m.jspiel.vanilla.RiffWriters
- All Implemented Interfaces:
RiffFileWriterProviderType
The default implementation of the
RiffFileWriterProviderType interface.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateForChannel(URI source, RiffFileWriterDescriptionType description, SeekableByteChannel channel) Create a writer for the given byte channel.
-
Constructor Details
-
RiffWriters
public RiffWriters()Construct a writer provider.
-
-
Method Details
-
createForChannel
public RiffFileWriterType createForChannel(URI source, RiffFileWriterDescriptionType description, SeekableByteChannel channel) Description copied from interface:RiffFileWriterProviderTypeCreate a writer for the given byte channel.- Specified by:
createForChannelin interfaceRiffFileWriterProviderType- Parameters:
source- The URI of the targetdescription- The description of the target filechannel- The output channel- Returns:
- A new writer
-