edu.harvard.hul.ois.jhove.module.aiff
Class SaxelChunk
java.lang.Object
edu.harvard.hul.ois.jhove.module.iff.Chunk
edu.harvard.hul.ois.jhove.module.aiff.SaxelChunk
public class SaxelChunk
- extends Chunk
Implementation of the AIFF Saxel (Sound Accelerator) Chunk.
The Saxel chunk has only a tentative and incomplete status in the
AIFF-C draft of 1991, and apparently nothing further was
ever done with it. For purposes of extracting parameters,
we treat the description of the SaxelChunk and Saxels as
valid, while regarding the SaxelData as opaque.
- Author:
- Gary McGath
Method Summary |
boolean |
readChunk(RepInfo info)
Reads a chunk and puts a "Saxels" property into
the RepInfo object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SaxelChunk
public SaxelChunk(AiffModule module,
ChunkHeader hdr,
java.io.DataInputStream dstrm)
- Constructor.
- Parameters:
module
- The AIFFModule under which this was calledhdr
- The header for this chunkdstrm
- The stream from which the AIFF data are being read
readChunk
public boolean readChunk(RepInfo info)
throws java.io.IOException
- Reads a chunk and puts a "Saxels" property into
the RepInfo object.
- 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