de.surethingies.properties.io
Enum Elements
java.lang.Object
java.lang.Enum<Elements>
de.surethingies.properties.io.Elements
- All Implemented Interfaces:
- Serializable, Comparable<Elements>
public enum Elements
- extends Enum<Elements>
Method Summary |
String |
localName()
|
static Elements |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Elements[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CONFIGURATION
public static final Elements CONFIGURATION
SETTING
public static final Elements SETTING
ENTRIES
public static final Elements ENTRIES
ENTRY
public static final Elements ENTRY
values
public static Elements[] 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 (Elements c : Elements.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Elements valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
localName
public String localName()
Copyright © 2007. All Rights Reserved.