|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.coremedia.iso.boxes.AbstractBox
com.coremedia.iso.boxes.AbstractFullBox
com.coremedia.iso.boxes.AuthorBox
public class AuthorBox
Meta information in a 'udta' box about a track. Defined in 3GPP 26.244.
UserDataBox
Field Summary | |
---|---|
static String |
TYPE
|
Fields inherited from class com.coremedia.iso.boxes.AbstractBox |
---|
offset, parsed |
Constructor Summary | |
---|---|
AuthorBox()
|
Method Summary | |
---|---|
String |
getAuthor()
Author information. |
protected void |
getContent(IsoOutputStream isos)
Writes the box's content into the given IsoOutputStream . |
protected long |
getContentSize()
Gets the box's content size without header size where header includes flags and version. |
String |
getDisplayName()
Returns the human readable name of the box. |
String |
getLanguage()
Declares the language code for the getAuthor() return value. |
void |
parse(IsoBufferWrapper in,
long size,
BoxParser boxParser,
Box lastMovieFragmentBox)
Pareses the given IsoBufferWrapper and returns the remaining bytes. |
void |
setAuthor(String author)
|
void |
setLanguage(String language)
|
String |
toString()
|
Methods inherited from class com.coremedia.iso.boxes.AbstractFullBox |
---|
getFlags, getHeader, getHeaderSize, getVersion, parseHeader, setFlags, setVersion |
Methods inherited from class com.coremedia.iso.boxes.AbstractBox |
---|
addWriteListener, calculateOffset, getBox, getDeadBytes, getIsoFile, getOffset, getParent, getSize, getType, getUserType, isParsed, setDeadBytes, setParent, setParsed, setUserType, utf8StringLengthInBytes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.coremedia.iso.boxes.Box |
---|
calculateOffset, getBox, getIsoFile, getOffset, getParent, getSize, getType, getUserType, isParsed |
Field Detail |
---|
public static final String TYPE
Constructor Detail |
---|
public AuthorBox()
Method Detail |
---|
public String getLanguage()
getAuthor()
return value. See ISO 639-2/T for the set of three
character codes.Each character is packed as the difference between its ASCII value and 0x60. The code is
confined to being three lower-case letters, so these values are strictly positive.
public String getAuthor()
public void setLanguage(String language)
public void setAuthor(String author)
public String getDisplayName()
AbstractBox
getDisplayName
in class AbstractBox
protected long getContentSize()
AbstractFullBox
getContentSize
in class AbstractFullBox
public void parse(IsoBufferWrapper in, long size, BoxParser boxParser, Box lastMovieFragmentBox) throws IOException
AbstractBox
parse
in class AbstractFullBox
in
- the (part of the) iso file to parsesize
- expected size of the boxboxParser
- creates inner boxeslastMovieFragmentBox
- latest of previously found moof boxes
IOException
- in case of an I/O error.protected void getContent(IsoOutputStream isos) throws IOException
AbstractBox
IsoOutputStream
. This MUST NOT include
any header bytes.
getContent
in class AbstractBox
isos
- the box's content-sink.
IOException
- in case of an exception in the underlying OutputStream
.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |