Package com.io7m.jspiel.api
Interface RiffFileBuilderType
public interface RiffFileBuilderType
A builder for RIFF files.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build a file description using all of the information provided so far.Set the byte order for the file.setRootChunk
(RiffChunkID id, String form) Set the root chunk for the file.
-
Method Details
-
setOrder
Set the byte order for the file.- Parameters:
order
- The byte order- Returns:
- The current builder
-
setRootChunk
Set the root chunk for the file.- Parameters:
id
- The id of the root chunkform
- The form of the root chunk- Returns:
- The current builder
-
build
Build a file description using all of the information provided so far.- Returns:
- A file description
- Throws:
RiffBuilderException
- On errors
-