|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.harvard.hul.ois.jhove.module.iff.Chunk
edu.harvard.hul.ois.jhove.module.wave.SampleChunk
public class SampleChunk
Implementation of the WAVE Sample (or Sampler) Chunk, which gives information about a MIDI sample.
| Field Summary |
|---|
| Fields inherited from class edu.harvard.hul.ois.jhove.module.iff.Chunk |
|---|
_dstream, _module, bytesLeft |
| Constructor Summary | |
|---|---|
SampleChunk(ModuleBase module,
ChunkHeader hdr,
java.io.DataInputStream dstrm)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
readChunk(RepInfo info)
Reads a chunk and puts a Sample property into the RepInfo object. |
| 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 |
|---|
public SampleChunk(ModuleBase module,
ChunkHeader hdr,
java.io.DataInputStream dstrm)
module - The WaveModule under which this was calledhdr - The header for this chunkdstrm - The stream from which the WAVE data are being read| Method Detail |
|---|
public boolean readChunk(RepInfo info)
throws java.io.IOException
readChunk in class Chunkinfo - RepInfo object to receive information
false if the chunk is structurally
invalid, otherwise true
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||