public class TheoraComments extends VorbisStyleComments implements TheoraPacket
VorbisComments with an Theora metadata
block header, rather than the usual Vorbis one.KEY_ALBUM, KEY_ARTIST, KEY_DATE, KEY_GENRE, KEY_TITLE, KEY_TRACKNUMBERTYPE_COMMENTS, TYPE_IDENTIFICATION, TYPE_SETUP| Constructor and Description |
|---|
TheoraComments() |
TheoraComments(OggPacket packet) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getHeaderSize()
8 bytes - type + theora
|
protected boolean |
hasFramingBit()
We think that Theora follows the Vorbis model, and has
a framing bit if the comments are null-padded
|
protected void |
populateMetadataFooter(OutputStream out) |
protected void |
populateMetadataHeader(byte[] b,
int dataLength)
Magic string
|
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, waitgetData, getOggOverheadSize, setData, writepublic TheoraComments(OggPacket packet)
public TheoraComments()
protected int getHeaderSize()
getHeaderSize in class VorbisStyleCommentsprotected boolean hasFramingBit()
hasFramingBit in class VorbisStyleCommentsprotected void populateMetadataHeader(byte[] b,
int dataLength)
populateMetadataHeader in class VorbisStyleCommentsprotected void populateMetadataFooter(OutputStream out)
populateMetadataFooter in class VorbisStyleCommentsCopyright © 2021. All rights reserved.