public static enum EToolsDocumentSource.Language extends Enum<EToolsDocumentSource.Language>
EToolsDocumentSource
, see
EToolsDocumentSource.language
.Enum Constant and Description |
---|
ALL |
ENGLISH |
FRENCH |
GERMAN |
ITALIAN |
SPANISH |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
LanguageCode |
toLanguageCode()
Returns a corresponding
LanguageCode or null if no
LanguageCode corresponds to this EToolsDocumentSource.Language constant. |
String |
toString() |
static EToolsDocumentSource.Language |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EToolsDocumentSource.Language[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EToolsDocumentSource.Language ALL
public static final EToolsDocumentSource.Language ENGLISH
public static final EToolsDocumentSource.Language FRENCH
public static final EToolsDocumentSource.Language GERMAN
public static final EToolsDocumentSource.Language ITALIAN
public static final EToolsDocumentSource.Language SPANISH
public static EToolsDocumentSource.Language[] values()
for (EToolsDocumentSource.Language c : EToolsDocumentSource.Language.values()) System.out.println(c);
public static EToolsDocumentSource.Language 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<EToolsDocumentSource.Language>
public String getCode()
public LanguageCode toLanguageCode()
LanguageCode
or null
if no
LanguageCode
corresponds to this EToolsDocumentSource.Language
constant.