edu.harvard.hul.ois.jhove.module.wave
Class AssocDataListChunk
java.lang.Object
edu.harvard.hul.ois.jhove.module.iff.Chunk
edu.harvard.hul.ois.jhove.module.iff.Superchunk
edu.harvard.hul.ois.jhove.module.wave.AssocDataListChunk
public class AssocDataListChunk
- extends Superchunk
The associated data list ('list') chunk, which is different from
the RIFF 'LIST' chunk, ListInfoTextChunk. It can contain
several different types of informational chunks.
- Author:
- Gary McGath
Method Summary |
boolean |
readChunk(RepInfo info)
Reads the chunk and its nested chunks, and puts appropriate
properties into the RepInfo object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssocDataListChunk
public AssocDataListChunk(ModuleBase module,
ChunkHeader hdr,
java.io.DataInputStream dstrm,
RepInfo info)
- Constructor.
- Parameters:
module
- The WaveModule under which this was calledhdr
- The header for this chunkdstrm
- The stream from which the WAVE data are being readinfo
- RepInfo object for error reporting
readChunk
public boolean readChunk(RepInfo info)
throws java.io.IOException
- Reads the chunk and its nested chunks, and puts appropriate
properties into the RepInfo object.
- Specified by:
readChunk
in class Chunk
- Parameters:
info
- RepInfo object to receive information
- Returns:
false
if the chunk or a nested chunk
is structurally
invalid, otherwise true
- Throws:
java.io.IOException