|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CharacterEncoding>
com.flagstone.transform.CharacterEncoding
public enum CharacterEncoding
CharacterEncoding is used to identify the encoding used for characters in strings stored in the movie.
Enum Constant Summary | |
---|---|
ANSI
Defines that the characters in a font or string are encoded using the ANSI (ASCII) standard. |
|
CP932
Defines that the characters in a font or string are encoded using Microsoft's extensions (Code Page 932) to the SJIS standard for representing Kanji characters. |
|
MS932
MS932 is an alias for Microsoft's extension to Shift-JIS. |
|
SJIS
Defines that the characters in a font or string are encoded using SJIS standard for representing Kanji characters. |
|
UTF8
Defines that the characters in a font or string are encoded using Unicode (UTF-8). |
|
WINDOWS31J
Microsoft's extension to Shift-JIS. |
Method Summary | |
---|---|
static CharacterEncoding |
fromCharSet(Charset set)
Get the ChanrcterEncoding that is identified by the canonical name of a CharSet object. |
String |
getEncoding()
Get the string used by Java to identify the character encoding. |
static CharacterEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CharacterEncoding[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CharacterEncoding SJIS
public static final CharacterEncoding ANSI
public static final CharacterEncoding UTF8
public static final CharacterEncoding WINDOWS31J
public static final CharacterEncoding MS932
public static final CharacterEncoding CP932
Method Detail |
---|
public static CharacterEncoding[] values()
for (CharacterEncoding c : CharacterEncoding.values()) System.out.println(c);
public static CharacterEncoding valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static CharacterEncoding fromCharSet(Charset set)
set
- the CharSet.
public String getEncoding()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |