edu.harvard.hul.ois.jhove.module.wave
Class ListInfoTextChunk

java.lang.Object
  extended by edu.harvard.hul.ois.jhove.module.iff.Chunk
      extended by edu.harvard.hul.ois.jhove.module.wave.ListInfoTextChunk

public class ListInfoTextChunk
extends Chunk

This implements any of the subchunks of the ListInfoChunk (a LIST chunk with a list type of INFO). All such chunks are identical in format, consisting of a null-terminated string. About 17 chunk ID's are recognized; others will be ignored.

Author:
Gary McGath

Field Summary
 
Fields inherited from class edu.harvard.hul.ois.jhove.module.iff.Chunk
_dstream, _module, bytesLeft
 
Constructor Summary
ListInfoTextChunk(ModuleBase module, ChunkHeader hdr, java.io.DataInputStream dstrm, java.util.List listInfoProps, ListInfoChunk parent)
          Constructor.
 
Method Summary
 boolean readChunk(RepInfo info)
          Reads a chunk and.....
 
Methods inherited from class edu.harvard.hul.ois.jhove.module.iff.Chunk
byteBufString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListInfoTextChunk

public ListInfoTextChunk(ModuleBase module,
                         ChunkHeader hdr,
                         java.io.DataInputStream dstrm,
                         java.util.List listInfoProps,
                         ListInfoChunk parent)
Constructor.

Parameters:
module - The WaveModule under which this was called
hdr - The header for this chunk
dstrm - The stream from which the WAVE data are being read
listInfoProps - A List of the Properties associated with the ListInfoChunk
parent - The ListInfoChunk within which this Chunk occurs
Method Detail

readChunk

public boolean readChunk(RepInfo info)
                  throws java.io.IOException
Reads a chunk and.....

Specified by:
readChunk in class Chunk
Parameters:
info - RepInfo object to receive information
Returns:
false if the chunk is structurally invalid, otherwise true
Throws:
java.io.IOException