public static enum Database.Charset extends Enum<Database.Charset>
Modifier and Type | Method and Description |
---|---|
static Database.Charset |
parseCharset(String code)
Returns the Charset with the given code or null if not available.
|
String |
toString() |
static Database.Charset |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Database.Charset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Database.Charset ANSI
public static final Database.Charset C850
public static final Database.Charset C437
public static Database.Charset[] values()
for (Database.Charset c : Database.Charset.values()) System.out.println(c);
public static Database.Charset 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 String toString()
toString
in class Enum<Database.Charset>
public static Database.Charset parseCharset(String code)
code
- of the charsetCopyright © 2014 DiSiD Technologies. All rights reserved.