Package adams.core.io
Enum MetaDataFileUtils.MetaDataLocation
- java.lang.Object
-
- java.lang.Enum<MetaDataFileUtils.MetaDataLocation>
-
- adams.core.io.MetaDataFileUtils.MetaDataLocation
-
- All Implemented Interfaces:
Serializable
,Comparable<MetaDataFileUtils.MetaDataLocation>
- Enclosing class:
- MetaDataFileUtils
public static enum MetaDataFileUtils.MetaDataLocation extends Enum<MetaDataFileUtils.MetaDataLocation>
Enum for locating the meta-data.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SAME_NAME
STARTING_WITH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MetaDataFileUtils.MetaDataLocation
valueOf(String name)
Returns the enum constant of this type with the specified name.static MetaDataFileUtils.MetaDataLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SAME_NAME
public static final MetaDataFileUtils.MetaDataLocation SAME_NAME
-
STARTING_WITH
public static final MetaDataFileUtils.MetaDataLocation STARTING_WITH
-
-
Method Detail
-
values
public static MetaDataFileUtils.MetaDataLocation[] 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 (MetaDataFileUtils.MetaDataLocation c : MetaDataFileUtils.MetaDataLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetaDataFileUtils.MetaDataLocation 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
-
-