public class ID3TextEncodingConversion
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.logging.Logger |
logger |
Constructor and Description |
---|
ID3TextEncodingConversion() |
Modifier and Type | Method and Description |
---|---|
private static byte |
convertV24textEncodingToV23textEncoding(byte textEncoding)
Convert v24 text encoding to a valid v23 encoding
|
static byte |
getTextEncoding(AbstractTagFrame header,
byte textEncoding)
Check the text encoding is valid for this header type and is appropriate for
user text encoding options.
|
static byte |
getUnicodeTextEncoding(AbstractTagFrame header)
Sets the text encoding to best Unicode type for the version
|
public static byte getTextEncoding(AbstractTagFrame header, byte textEncoding)
header
- used to identify the ID3tagtypetextEncoding
- currently setpublic static byte getUnicodeTextEncoding(AbstractTagFrame header)
header
- private static byte convertV24textEncodingToV23textEncoding(byte textEncoding)
textEncoding
- Copyright © 2005-2013 java.net. All Rights Reserved.