public abstract class TextChunk extends Chunk
NameChunk
, AuthorChunk
,
CopyrightChunk
and AnnotationChunk
.Modifier and Type | Field and Description |
---|---|
protected AiffAudioHeader |
aiffAudioHeader |
chunkData, chunkHeader
Constructor and Description |
---|
TextChunk(ChunkHeader chunkHeader,
ByteBuffer chunkData,
AiffAudioHeader aiffAudioHeader)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
readChunkText()
Reads the chunk and transforms it to a
String . |
protected final AiffAudioHeader aiffAudioHeader
public TextChunk(ChunkHeader chunkHeader, ByteBuffer chunkData, AiffAudioHeader aiffAudioHeader)
chunkHeader
- The header for this chunkchunkData
- The buffer from which the AIFF data are being readaiffAudioHeader
- aiff headerprotected String readChunkText() throws IOException
String
.IOException
- if the read failsCopyright © 2005–2020 jthink.net. All rights reserved.