Enum DataTablesExportTypes
- java.lang.Object
-
- java.lang.Enum<DataTablesExportTypes>
-
- ca.corefacility.bioinformatics.irida.ria.web.components.datatables.DataTablesExportTypes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DataTablesExportTypes>
public enum DataTablesExportTypes extends java.lang.Enum<DataTablesExportTypes>
This class represents the types of files that can be exported from a datatable.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataTablesExportTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DataTablesExportTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
excel
public static final DataTablesExportTypes excel
-
csv
public static final DataTablesExportTypes csv
-
-
Method Detail
-
values
public static DataTablesExportTypes[] 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 (DataTablesExportTypes c : DataTablesExportTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataTablesExportTypes valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-