Package adams.core
Enum PropertiesDataType
- java.lang.Object
-
- java.lang.Enum<PropertiesDataType>
-
- adams.core.PropertiesDataType
-
- All Implemented Interfaces:
Serializable
,Comparable<PropertiesDataType>
public enum PropertiesDataType extends Enum<PropertiesDataType>
Data types that theProperties
class handles.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertiesDataType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PropertiesDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROPERTY
public static final PropertiesDataType PROPERTY
stock standard string value, as stored.
-
PATH
public static final PropertiesDataType PATH
performs some replacements, seeProperties.expandPlaceHolders(String)
.
-
BOOLEAN
public static final PropertiesDataType BOOLEAN
-
INTEGER
public static final PropertiesDataType INTEGER
-
LONG
public static final PropertiesDataType LONG
-
DOUBLE
public static final PropertiesDataType DOUBLE
-
COLOR
public static final PropertiesDataType COLOR
-
FONT
public static final PropertiesDataType FONT
-
TIME
public static final PropertiesDataType TIME
-
DATE
public static final PropertiesDataType DATE
-
DATETIME
public static final PropertiesDataType DATETIME
-
PASSWORD
public static final PropertiesDataType PASSWORD
-
-
Method Detail
-
values
public static PropertiesDataType[] 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 (PropertiesDataType c : PropertiesDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertiesDataType 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 nameNullPointerException
- if the argument is null
-
-