public static enum TranslationConstants.TranslationMethod extends java.lang.Enum<TranslationConstants.TranslationMethod>
Enum Constant and Description |
---|
HUMAN_TRANSLATION
human translation
|
MACHINE_TRANSLATION
machine translation
|
Modifier and Type | Method and Description |
---|---|
static TranslationConstants.TranslationMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TranslationConstants.TranslationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TranslationConstants.TranslationMethod MACHINE_TRANSLATION
public static final TranslationConstants.TranslationMethod HUMAN_TRANSLATION
public static TranslationConstants.TranslationMethod[] values()
for (TranslationConstants.TranslationMethod c : TranslationConstants.TranslationMethod.values()) System.out.println(c);
public static TranslationConstants.TranslationMethod 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 namejava.lang.NullPointerException
- if the argument is nullCopyright © 2010 - 2020 Adobe. All Rights Reserved