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 |
|---|---|
String |
getAlbum() |
String |
getArtist() |
String |
getComment() |
String[] |
getCommentByName(String key) |
String |
getDate() |
String |
getDiscNumber() |
String |
getGenre() |
String |
getTitle() |
String |
getTotalDiscs() |
String |
getTotalTracks() |
String |
getTrackNumber() |
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 String getComment()
public String getGenre()
public String getDate()
public String getAlbum()
public String getTotalDiscs()
public String getDiscNumber()
public String getTotalTracks()
public String getTrackNumber()
public String getTitle()
public String getArtist()
Copyright © 2014. All rights reserved.