public enum LocationVariableProtocol extends Enum<LocationVariableProtocol>
Enum Constant and Description |
---|
FILE |
LANGUAGE |
RESOURCE |
SERVER_PROPERTY |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(String protocolString) |
String |
getValue() |
static boolean |
isProtocol(String string) |
static LocationVariableProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocationVariableProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationVariableProtocol FILE
public static final LocationVariableProtocol LANGUAGE
public static final LocationVariableProtocol RESOURCE
public static final LocationVariableProtocol SERVER_PROPERTY
public static LocationVariableProtocol[] values()
for (LocationVariableProtocol c : LocationVariableProtocol.values()) System.out.println(c);
public static LocationVariableProtocol 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 static boolean isProtocol(String string)
public boolean equals(String protocolString)
public String getValue()