- java.lang.Object
-
- com.io7m.jspiel.vanilla.RiffWriters
-
- All Implemented Interfaces:
RiffFileWriterProviderType
public final class RiffWriters extends java.lang.Object implements RiffFileWriterProviderType
The default implementation of theRiffFileWriterProviderTypeinterface.
-
-
Constructor Summary
Constructors Constructor Description RiffWriters()Construct a writer provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RiffFileWriterTypecreateForChannel(java.net.URI source, RiffFileWriterDescriptionType description, java.nio.channels.SeekableByteChannel channel)Create a writer for the given byte channel.
-
-
-
Method Detail
-
createForChannel
public RiffFileWriterType createForChannel(java.net.URI source, RiffFileWriterDescriptionType description, java.nio.channels.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
-
-