public static enum Property.Type extends java.lang.Enum<Property.Type>
| Enum Constant and Description |
|---|
BOOLEAN
Enum constant for the boolean property type.
|
DOUBLE
Enum constant for the double property type.
|
FLOAT
Enum constant for the float property type.
|
INT
Enum constant for the integer property type.
|
LONG
Enum constant for the long property type.
|
STRING
Enum constant for the string property type.
|
URI
Enum constant for the URI property type.
|
| Modifier and Type | Method and Description |
|---|---|
static Property.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Property.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Property.Type BOOLEAN
true, yes,
on and 1 are legal string representations for
true. false, no, off and 0 are
legal string representations for false. These representations
are case-insensitive!public static final Property.Type INT
Integer.MIN_VALUE and Integer.MAX_VALUE.public static final Property.Type LONG
Long.MIN_VALUE and Long.MAX_VALUE.public static final Property.Type FLOAT
Float.MIN_VALUE and Float.MAX_VALUE. The string
representation must be of the format as it is accepted by
Float.valueOf(String).public static final Property.Type DOUBLE
Double.MIN_VALUE and Double.MAX_VALUE. The string
representation must be of the format as it is accepted by
Double.valueOf(String).public static final Property.Type STRING
public static final Property.Type URI
URI.URI(String).public static Property.Type[] values()
for (Property.Type c : Property.Type.values()) System.out.println(c);
public static Property.Type 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 null