edu.harvard.hul.ois.jhove.module.wave
Class ListInfoChunk
java.lang.Object
   edu.harvard.hul.ois.jhove.module.iff.Chunk
edu.harvard.hul.ois.jhove.module.iff.Chunk
       edu.harvard.hul.ois.jhove.module.iff.Superchunk
edu.harvard.hul.ois.jhove.module.iff.Superchunk
           edu.harvard.hul.ois.jhove.module.wave.ListInfoChunk
edu.harvard.hul.ois.jhove.module.wave.ListInfoChunk
- public class ListInfoChunk 
- extends Superchunk
Implementation of the WAVE LIST chunk.
 
 Two chunk types, 'exif' and 'INFO', are supported;
 other list types will be reported as unknown
 and treated as an error.
- Author:
- Gary McGath
 
 
 
| Method Summary | 
|  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.
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ListInfoChunk
public ListInfoChunk(ModuleBase module,
                     ChunkHeader hdr,
                     java.io.DataInputStream dstrm,
                     RepInfo info)
- 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
- info- RepInfo object for error reporting
 
readChunk
public boolean readChunk(RepInfo info)
                  throws java.io.IOException
- Reads a chunk and puts appropriate information into
  the RepInfo object.
 
- 
- Specified by:
- readChunkin class- Chunk
 
- 
- Parameters:
- info- RepInfo object to receive information
- Returns:
- falseif the chunk is structurally
            invalid, otherwise- true
- Throws:
- java.io.IOException
 
readAdtlChunk
public boolean readAdtlChunk(RepInfo info)
                      throws java.io.IOException
- Reads the chunk and its nested chunks, and puts appropriate
  properties into the RepInfo object.
 
- 
- Returns:
- falseif the chunk or a nested chunk
            is structurally
            invalid, otherwise- true
- Throws:
- java.io.IOException