|
|||||||||
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.ChunkHeader
public class ChunkHeader
This class encapsulates an IFF/AIFF chunk header.
Constructor Summary | |
---|---|
ChunkHeader(ModuleBase module,
RepInfo info)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getID()
Returns the chunk type, which is a 4-character code |
long |
getSize()
Returns the chunk size (excluding the first 8 bytes) |
boolean |
readHeader(java.io.DataInputStream dstrm)
Reads the header of a chunk. |
void |
setID(java.lang.String id)
Sets the chunk type, which is a 4-character code, directly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChunkHeader(ModuleBase module, RepInfo info)
module
- The module under which the chunk is being readinfo
- The RepInfo object being used by the moduleMethod Detail |
---|
public boolean readHeader(java.io.DataInputStream dstrm) throws java.io.IOException
java.io.IOException
public void setID(java.lang.String id)
public java.lang.String getID()
public long getSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |