|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.metasyntactic.id3.v2.frame.Frame | +--org.metasyntactic.id3.v2.frame.TXXX
User defined text information frame
This frame is intended for one-string text information concerning the audio file in a similar way to the other "T"-frames. The frame body consists of a description of the string, represented as a terminated string, followed by the actual string. There may be more than one "TXXX" frame in each tag, but only one with the same description.
Text encoding $xx Description $00 (00) Value
Field Summary |
Fields inherited from class org.metasyntactic.id3.v2.frame.Frame |
compressed, dataLengthIndicator, discardOnFileAlteration, discardOnTagAlteration, encrypted, frameID, groupInformation, readOnly, unsynchronised |
Fields inherited from interface org.metasyntactic.id3.v2.Id3v2Constants |
ISO_8859_1, JAVA_ISO_8859_1, JAVA_US_ASCII, JAVA_UTF_16, JAVA_UTF_16_BIG_ENDIAN, JAVA_UTF_8, MAJOR_VERSION, MAX_ENCODING, MIN_ENCODING, REVISION_NUMBER, UTF_16, UTF_16_BIG_ENDIAN, UTF_8 |
Constructor Summary | |
protected |
TXXX()
|
|
TXXX(byte encoding,
java.lang.String description,
java.lang.String value)
Language must be a 3 character string from org.metasyntactic.language.codes.ISO_639_B |
Method Summary | |
int |
getSize()
A COMM frame uses 1 byte for the encoding, 3 bytes for the language, and then the length of the comment in encoded bytes |
void |
readContent(java.io.PushbackInputStream in,
int length)
Subclasses must implement this method so that they can restore the contents of their fields from the stream |
java.lang.String |
toString()
|
void |
writeContent(java.io.OutputStream out)
This is called as the last step of write(OutputStream). |
Methods inherited from class org.metasyntactic.id3.v2.frame.Frame |
getTotalSize, hasDataLengthIndicator, isCompressed, isDiscardedOnFileAlteration, isDiscardedOnTagAlteration, isEncrypted, isPartOfGroup, isReadOnly, isUnsynchronized, read, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected TXXX()
public TXXX(byte encoding, java.lang.String description, java.lang.String value)
Method Detail |
public int getSize()
getSize
in class Frame
public void readContent(java.io.PushbackInputStream in, int length) throws java.io.IOException, Id3v2Exception
Frame
readContent
in class Frame
java.io.IOException
Id3v2Exception
public void writeContent(java.io.OutputStream out) throws java.io.IOException
Frame
writeContent
in class Frame
java.io.IOException
public java.lang.String toString()
toString
in class Frame
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |