Package adams.flow.transformer
Enum StringSplit.Delimiter
- java.lang.Object
-
- java.lang.Enum<StringSplit.Delimiter>
-
- adams.flow.transformer.StringSplit.Delimiter
-
- All Implemented Interfaces:
Serializable
,Comparable<StringSplit.Delimiter>
- Enclosing class:
- StringSplit
public static enum StringSplit.Delimiter extends Enum<StringSplit.Delimiter>
Defines the action what to do with the delimiter.- 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 StringSplit.Delimiter
valueOf(String name)
Returns the enum constant of this type with the specified name.static StringSplit.Delimiter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISCARD
public static final StringSplit.Delimiter DISCARD
discards the delimiters.
-
APPEND
public static final StringSplit.Delimiter APPEND
appends the delimiters.
-
PREPEND
public static final StringSplit.Delimiter PREPEND
prepends the delimiters.
-
-
Method Detail
-
values
public static StringSplit.Delimiter[] 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 (StringSplit.Delimiter c : StringSplit.Delimiter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StringSplit.Delimiter 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
-
-