public abstract class TextChunk extends Chunk
| Modifier and Type | Field and Description |
|---|---|
protected String |
propName
Name of the property.
|
| Constructor and Description |
|---|
TextChunk(AiffModule module,
ChunkHeader hdr,
DataInputStream dstrm)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
readChunk(RepInfo info)
Reads a chunk and puts appropriate information into
the RepInfo object.
|
protected String |
readText()
Reads the chunk's text data.
|
byteBufStringprotected String propName
public TextChunk(AiffModule module, ChunkHeader hdr, DataInputStream dstrm)
module - The AIFFModule under which this was calledhdr - The header for this chunkdstrm - The stream from which the AIFF data are being readpublic boolean readChunk(RepInfo info)
throws IOException
readChunk in class Chunkinfo - RepInfo object to receive informationfalse if the chunk is structurally
invalid, otherwise trueIOExceptionprotected String readText() throws IOException
IOExceptionCopyright © 2008–2017 The Open Preservation Foundation. All rights reserved.