public class VorbisComments extends VorbisStyleComments implements VorbisPacket, OggAudioTagsHeader
KEY_ALBUM, KEY_ARTIST, KEY_DATE, KEY_GENRE, KEY_TITLE, KEY_TRACKNUMBERHEADER_LENGTH_AUDIO, HEADER_LENGTH_METADATA, TYPE_COMMENTS, TYPE_INFO, TYPE_SETUP| Constructor and Description |
|---|
VorbisComments() |
VorbisComments(OggPacket pkt) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeaderSize()
How big is the header on this packet?
For Metadata packets it's normally 7 bytes,
otherwise for audio packets there is no header.
|
protected boolean |
hasFramingBit()
Vorbis Comments have framing bits if there's padding
after the end of the defined comments
|
void |
populateMetadataFooter(OutputStream out) |
void |
populateMetadataHeader(byte[] b,
int dataLength)
Have the metadata header populated into the data,
normally used when writing out.
|
addComment, getAlbum, getAllComments, getArtist, getComments, getDate, getGenre, getInt4, getSingleComment, getTitle, getTrackNumber, getTrackNumberNumeric, getVendor, normaliseTag, removeAllComments, removeComments, setComments, setVendor, writegetData, getOggOverheadSize, getOggPacket, setDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlbum, getAllComments, getArtist, getComments, getDate, getGenre, getTitle, getTrackNumber, getTrackNumberNumeric, getVendorgetData, getOggOverheadSize, setData, writepublic VorbisComments(OggPacket pkt)
public VorbisComments()
protected boolean hasFramingBit()
hasFramingBit in class VorbisStyleCommentspublic int getHeaderSize()
VorbisPacketgetHeaderSize in interface VorbisPacketgetHeaderSize in class VorbisStyleCommentspublic void populateMetadataHeader(byte[] b,
int dataLength)
VorbisPacketVorbisPacketFactory.populateMetadataHeader(byte[], int, int)populateMetadataHeader in interface VorbisPacketpopulateMetadataHeader in class VorbisStyleCommentspublic void populateMetadataFooter(OutputStream out)
populateMetadataFooter in class VorbisStyleCommentsCopyright © 2021. All rights reserved.