public enum CodePage extends Enum<CodePage>
Modifier and Type | Method and Description |
---|---|
Charset |
getCharset()
Retrieve the Java character set represented by the codepage.
|
static CodePage |
getInstance(String value)
Retrieve a CodePage instance representing the supplied value.
|
String |
toString()
Returns the string representation of the codepage.
|
static CodePage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodePage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodePage ANSI
public static final CodePage MAC
public static final CodePage LATIN
public static final CodePage US
public static final CodePage ZH
public static final CodePage RU
public static CodePage[] values()
for (CodePage c : CodePage.values()) System.out.println(c);
public static CodePage valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CodePage getInstance(String value)
value
- MPX code page namepublic Charset getCharset()
Copyright © 2000–2024 Packwood Software. All rights reserved.