Enum DataLocation.Format
- java.lang.Object
-
- java.lang.Enum<DataLocation.Format>
-
- fr.ens.biologie.genomique.aozan.aozan3.DataLocation.Format
-
- All Implemented Interfaces:
Serializable
,Comparable<DataLocation.Format>
- Enclosing class:
- DataLocation
public static enum DataLocation.Format extends Enum<DataLocation.Format>
Format of the data location
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataLocation.Format
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataLocation.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIRECTORY
public static final DataLocation.Format DIRECTORY
-
FILE
public static final DataLocation.Format FILE
-
TAR
public static final DataLocation.Format TAR
-
TAR_GZ
public static final DataLocation.Format TAR_GZ
-
TAR_BZ2
public static final DataLocation.Format TAR_BZ2
-
ZIP
public static final DataLocation.Format ZIP
-
-
Method Detail
-
values
public static DataLocation.Format[] 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 (DataLocation.Format c : DataLocation.Format.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataLocation.Format 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
-
-