Package com.drew.imaging.riff
Class RiffReader
- java.lang.Object
-
- com.drew.imaging.riff.RiffReader
-
public class RiffReader extends java.lang.ObjectProcesses RIFF-formatted data, calling into client code via thatRiffHandlerinterface. For information on this file format, see:- http://en.wikipedia.org/wiki/Resource_Interchange_File_Format
- https://developers.google.com/speed/webp/docs/riff_container
- https://www.daubnet.com/en/file-format-riff
-
-
Constructor Summary
Constructors Constructor Description RiffReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessChunks(SequentialReader reader, int sectionSize, RiffHandler handler)voidprocessRiff(SequentialReader reader, RiffHandler handler)Processes a RIFF data sequence.
-
-
-
Method Detail
-
processRiff
public void processRiff(SequentialReader reader, RiffHandler handler) throws RiffProcessingException, java.io.IOException
Processes a RIFF data sequence.- Parameters:
reader- theSequentialReaderfrom which the data should be readhandler- theRiffHandlerthat will coordinate processing and accept read values- Throws:
RiffProcessingException- if an error occurred during the processing of RIFF data that could not be ignored or recovered fromjava.io.IOException- an error occurred while accessing the required data
-
processChunks
public void processChunks(SequentialReader reader, int sectionSize, RiffHandler handler) throws java.io.IOException
- Throws:
java.io.IOException
-
-