-
public interface RiffFileBuilderTypeA builder for RIFF files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RiffFileWriterDescriptionTypebuild()Build a file description using all of the information provided so far.RiffFileBuilderTypesetOrder(java.nio.ByteOrder order)Set the byte order for the file.RiffChunkBuilderTypesetRootChunk(RiffChunkID id, java.lang.String form)Set the root chunk for the file.
-
-
-
Method Detail
-
setOrder
RiffFileBuilderType setOrder(java.nio.ByteOrder order)
Set the byte order for the file.- Parameters:
order- The byte order- Returns:
- The current builder
-
setRootChunk
RiffChunkBuilderType setRootChunk(RiffChunkID id, java.lang.String form)
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
RiffFileWriterDescriptionType build() throws RiffBuilderException
Build a file description using all of the information provided so far.- Returns:
- A file description
- Throws:
RiffBuilderException- On errors
-
-