Package org.molgenis.vibe.cli.io.output
Enum ValuesSeparator
- java.lang.Object
-
- java.lang.Enum<ValuesSeparator>
-
- org.molgenis.vibe.cli.io.output.ValuesSeparator
-
- All Implemented Interfaces:
Serializable,Comparable<ValuesSeparator>
public enum ValuesSeparator extends Enum<ValuesSeparator>
Defines possibleseparatorsto be used.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLONCOMMAEQUALSHYPHEN_MINUSSEMICOLONTABVERTICAL_LINE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSeparator()StringtoString()static ValuesSeparatorvalueOf(String name)Returns the enum constant of this type with the specified name.static ValuesSeparator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMA
public static final ValuesSeparator COMMA
-
TAB
public static final ValuesSeparator TAB
-
COLON
public static final ValuesSeparator COLON
-
SEMICOLON
public static final ValuesSeparator SEMICOLON
-
HYPHEN_MINUS
public static final ValuesSeparator HYPHEN_MINUS
-
VERTICAL_LINE
public static final ValuesSeparator VERTICAL_LINE
-
EQUALS
public static final ValuesSeparator EQUALS
-
-
Method Detail
-
values
public static ValuesSeparator[] 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 (ValuesSeparator c : ValuesSeparator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValuesSeparator 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
-
getSeparator
public String getSeparator()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ValuesSeparator>
-
-