Package adams.flow.transformer
Enum WekaFileReader.OutputType
- java.lang.Object
-
- java.lang.Enum<WekaFileReader.OutputType>
-
- adams.flow.transformer.WekaFileReader.OutputType
-
- All Implemented Interfaces:
Serializable
,Comparable<WekaFileReader.OutputType>
- Enclosing class:
- WekaFileReader
public static enum WekaFileReader.OutputType extends Enum<WekaFileReader.OutputType>
Defines how to output the data.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATASET
the complete dataset.HEADER
only the header.INCREMENTAL
row by row.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WekaFileReader.OutputType
valueOf(String name)
Returns the enum constant of this type with the specified name.static WekaFileReader.OutputType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATASET
public static final WekaFileReader.OutputType DATASET
the complete dataset.
-
HEADER
public static final WekaFileReader.OutputType HEADER
only the header.
-
INCREMENTAL
public static final WekaFileReader.OutputType INCREMENTAL
row by row.
-
-
Method Detail
-
values
public static WekaFileReader.OutputType[] 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 (WekaFileReader.OutputType c : WekaFileReader.OutputType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WekaFileReader.OutputType 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
-
-