Package com.io7m.jspiel.vanilla
Class RiffParsers
java.lang.Object
com.io7m.jspiel.vanilla.RiffParsers
- All Implemented Interfaces:
RiffFileParserProviderType
RIFF parsers.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateForByteBuffer
(URI source, ByteBuffer data) Create a parser from the data in the given byte buffer.
-
Constructor Details
-
RiffParsers
public RiffParsers()Construct a RIFF parser provider.
-
-
Method Details
-
createForByteBuffer
Description copied from interface:RiffFileParserProviderType
Create a parser from the data in the given byte buffer.- Specified by:
createForByteBuffer
in interfaceRiffFileParserProviderType
- Parameters:
source
- The URI of the sourcedata
- The input data- Returns:
- A new parser
-