public class VorbisComment extends Metadata
| Modifier and Type | Field and Description |
|---|---|
protected VorbisString[] |
comments |
protected int |
numComments |
protected byte[] |
vendorString |
isLast, METADATA_TYPE_APPLICATION, METADATA_TYPE_CUESHEET, METADATA_TYPE_PADDING, METADATA_TYPE_PICTURE, METADATA_TYPE_SEEKTABLE, METADATA_TYPE_STREAMINFO, METADATA_TYPE_VORBIS_COMMENT, STREAM_METADATA_IS_LAST_LEN, STREAM_METADATA_LENGTH_LEN, STREAM_METADATA_TYPE_LEN| Constructor and Description |
|---|
VorbisComment(BitInputStream is,
int length,
boolean isLast)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
VorbisString |
getComment(int index) |
String[] |
getCommentByName(String key) |
int |
getNumComments() |
String |
toString() |
protected byte[] vendorString
protected int numComments
protected VorbisString[] comments
public VorbisComment(BitInputStream is, int length, boolean isLast) throws IOException
is - The InputBitStreamlength - Length of the recordisLast - True if this is the last Metadata block in the chainIOException - Thrown if error reading from InputBitStreampublic String toString()
toString in class ObjectObject.toString()public VorbisString getComment(int index) throws IndexOutOfBoundsException
IndexOutOfBoundsExceptionpublic int getNumComments()
Copyright © 2004–2017. All rights reserved.