org.jaudiotagger.tag.id3.valuepair
Class TextEncoding
java.lang.Object
org.jaudiotagger.tag.datatype.AbstractValuePair
org.jaudiotagger.tag.datatype.AbstractIntStringValuePair
org.jaudiotagger.tag.id3.valuepair.TextEncoding
public class TextEncoding
- extends AbstractIntStringValuePair
Text Encoding supported by ID3v24, the id is recognised by ID3
whereas the value maps to a java java.nio.charset.Charset, all the
charsets defined below are guaranteed on every Java platform.
Note in ID3 UTF_16 can be implemented as either UTF16BE or UTF16LE with byte ordering
marks, in JAudioTagger we always implement it as UTF16BE (this is how the Java UTF-16 charset works).
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHARSET_ISO_8859_1
public static final java.lang.String CHARSET_ISO_8859_1
- See Also:
- Constant Field Values
CHARSET_UTF_16
public static final java.lang.String CHARSET_UTF_16
- See Also:
- Constant Field Values
CHARSET_UTF_16BE
public static final java.lang.String CHARSET_UTF_16BE
- See Also:
- Constant Field Values
CHARSET_UTF_8
public static final java.lang.String CHARSET_UTF_8
- See Also:
- Constant Field Values
ISO_8859_1
public static final byte ISO_8859_1
- See Also:
- Constant Field Values
UTF_16
public static final byte UTF_16
- See Also:
- Constant Field Values
UTF_16BE
public static final byte UTF_16BE
- See Also:
- Constant Field Values
UTF_8
public static final byte UTF_8
- See Also:
- Constant Field Values
TEXT_ENCODING_FIELD_SIZE
public static final int TEXT_ENCODING_FIELD_SIZE
- See Also:
- Constant Field Values
getInstanceOf
public static TextEncoding getInstanceOf()