|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EncodingEnum>
cz.zcu.fav.kiv.editor.controller.options.EncodingEnum
public enum EncodingEnum
The EncodingEnum
class is the enumerated list of document encodings.
Enum Constant Summary | |
---|---|
ASCII
|
|
ISO88591
|
|
ISO88592
|
|
UTF16BE
|
|
UTF16LE
|
|
UTF8
|
|
WIN1250
|
Method Summary | |
---|---|
static boolean |
containsEncoding(java.lang.String encodKey)
Specifies if the input encoding is among predefined encodings EncodingEnum . |
static EncodingEnum |
getEncoding(java.lang.String encodKey)
Returns EncodingEnum object for corresponding key. |
java.lang.String |
getKey()
|
java.lang.String |
toString()
|
static EncodingEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EncodingEnum[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EncodingEnum UTF8
public static final EncodingEnum UTF16BE
public static final EncodingEnum UTF16LE
public static final EncodingEnum ASCII
public static final EncodingEnum WIN1250
public static final EncodingEnum ISO88591
public static final EncodingEnum ISO88592
Method Detail |
---|
public static EncodingEnum[] values()
for (EncodingEnum c : EncodingEnum.values()) System.out.println(c);
public static EncodingEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getKey()
public java.lang.String toString()
toString
in class java.lang.Enum<EncodingEnum>
public static EncodingEnum getEncoding(java.lang.String encodKey)
EncodingEnum
object for corresponding key.
encodKey
- the key of the encoding.
public static boolean containsEncoding(java.lang.String encodKey)
EncodingEnum
.
encodKey
- the key of the encoding.
EncodingEnum
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |