|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.blinkenlights.jid3.io.TextEncoding
Text encoding representation used in v2 frames.
Field Summary | |
static TextEncoding |
ISO_8859_1
|
static TextEncoding |
UNICODE
|
Method Summary | |
boolean |
equals(java.lang.Object oOther)
|
static TextEncoding |
getDefaultTextEncoding()
Get the default text encoding which will be used in v2 frames, when not specified. |
java.lang.String |
getEncodingString()
Get the Java encoding string matching this text encoding. |
byte |
getEncodingValue()
Get the byte value corresponding to this text encoding. |
static TextEncoding |
getTextEncoding(byte byEncoding)
Get the text encoding object represented by a given byte value. |
static TextEncoding |
getTextEncoding(int iEncoding)
Get the text encoding object represented by a given integer value. |
static void |
setDefaultTextEncoding(TextEncoding oTextEncoding)
Set the default text encoding to be used in v2 frames, when not specified. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final TextEncoding ISO_8859_1
public static final TextEncoding UNICODE
Method Detail |
public static TextEncoding getTextEncoding(int iEncoding) throws ID3Exception
iEncoding
- the value corresponding to a given text encoding
ID3Exception
- if no matching encoding existspublic static TextEncoding getTextEncoding(byte byEncoding) throws ID3Exception
byEncoding
- the value corresponding to a given text encoding
ID3Exception
- if no matching encoding existspublic byte getEncodingValue()
public java.lang.String getEncodingString()
public boolean equals(java.lang.Object oOther)
public static TextEncoding getDefaultTextEncoding()
public static void setDefaultTextEncoding(TextEncoding oTextEncoding)
oTextEncoding
- the default text encoding to be used when not specified
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |