Package org.omegat.languagetools
Enum LanguageToolWrapper.BridgeType
- java.lang.Object
-
- java.lang.Enum<LanguageToolWrapper.BridgeType>
-
- org.omegat.languagetools.LanguageToolWrapper.BridgeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LanguageToolWrapper.BridgeType>
- Enclosing class:
- LanguageToolWrapper
public static enum LanguageToolWrapper.BridgeType extends java.lang.Enum<LanguageToolWrapper.BridgeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOCAL_INSTALLATION
NATIVE
REMOTE_URL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LanguageToolWrapper.BridgeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LanguageToolWrapper.BridgeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NATIVE
public static final LanguageToolWrapper.BridgeType NATIVE
-
REMOTE_URL
public static final LanguageToolWrapper.BridgeType REMOTE_URL
-
LOCAL_INSTALLATION
public static final LanguageToolWrapper.BridgeType LOCAL_INSTALLATION
-
-
Method Detail
-
values
public static LanguageToolWrapper.BridgeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LanguageToolWrapper.BridgeType c : LanguageToolWrapper.BridgeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LanguageToolWrapper.BridgeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-