public enum Separator extends Enum<Separator>
Enum Constant and Description |
---|
COMMA
Specifies the comma character used as separator.
|
LINE_RETURN
Specifies the line return used as separator.
|
SEMICOLON
Specifies the semicolon character used as separator.
|
SPACE
Specifies the space used as separator.
|
TAB
Specifies the tab used as separator.
|
Modifier and Type | Method and Description |
---|---|
String |
getSeparatorCharacter()
Returns this separator character.
|
static Separator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Separator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Separator COMMA
public static final Separator SEMICOLON
public static final Separator SPACE
public static final Separator TAB
public static final Separator LINE_RETURN
public static Separator[] values()
for (Separator c : Separator.values()) System.out.println(c);
public static Separator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getSeparatorCharacter()