public class ID3Chunk extends Chunk
Constructor and Description |
---|
ID3Chunk(ChunkHeader hdr,
java.io.RandomAccessFile raf,
AiffTag tag)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
isId3v2Tag()
Reads 3 bytes to determine if the tag really looks like ID3 data.
|
void |
parse(byte[] rawdata,
AiffTag aiffTag) |
boolean |
readChunk()
Reads a chunk and puts appropriate information into
the RepInfo object.
|
byteBufString
private AiffTag aiffTag
public ID3Chunk(ChunkHeader hdr, java.io.RandomAccessFile raf, AiffTag tag)
hdr
- The header for this chunkraf
- The file from which the AIFF data are being readtag
- The AiffTag into which information is storedpublic boolean readChunk() throws java.io.IOException
Chunk
public void parse(byte[] rawdata, AiffTag aiffTag) throws java.io.IOException, CannotReadException
rawdata
- isFramingBit
- java.io.IOException
CannotReadException
private boolean isId3v2Tag() throws java.io.IOException
java.io.IOException
Copyright © 2005-2013 java.net. All Rights Reserved.