public class ListInfoChunk extends Superchunk
_dstream, _module, bytesLeft, chunkOffset, chunkSize, HEADER_LENGTH, ID_LENGTH, SIZE_LENGTH| Constructor and Description |
|---|
ListInfoChunk(ModuleBase module,
ChunkHeader hdr,
DataInputStream dstrm,
RepInfo info)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
readAdtlChunk(RepInfo info)
Reads the chunk and its nested chunks, and puts appropriate
properties into the RepInfo object.
|
boolean |
readChunk(RepInfo info)
Reads a chunk and puts appropriate information into
the RepInfo object.
|
getNextChunkHeaderbyteBufStringpublic ListInfoChunk(ModuleBase module, ChunkHeader hdr, DataInputStream dstrm, RepInfo info)
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 reportingpublic boolean readChunk(RepInfo info) throws IOException
readChunk in class Chunkfalse if the chunk is structurally
invalid, otherwise trueIOExceptionpublic boolean readAdtlChunk(RepInfo info) throws IOException
false if the chunk or a nested chunk
is structurally
invalid, otherwise trueIOExceptionCopyright © 2008–2021 The Open Preservation Foundation. All rights reserved.