public enum FormatSeparator extends java.lang.Enum<FormatSeparator>
| Enum Constant and Description |
|---|
ANGLED_BRACKETS |
COMMA |
CURLY_BRACES |
DASH |
DOUBLE_COLON |
FORWARD_SLASH |
GREATER_THAN |
PARENTHESIS |
PERIOD |
PIPE |
SQUARE_BRACKETS |
UNDERSCORE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
apply(java.util.Collection<java.lang.String> parts) |
java.lang.String |
getPrefix() |
java.lang.String |
getSeparator() |
java.lang.String |
getSuffix() |
boolean |
isAround() |
boolean |
isBetween() |
static FormatSeparator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FormatSeparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatSeparator FORWARD_SLASH
public static final FormatSeparator DASH
public static final FormatSeparator UNDERSCORE
public static final FormatSeparator PIPE
public static final FormatSeparator COMMA
public static final FormatSeparator PERIOD
public static final FormatSeparator GREATER_THAN
public static final FormatSeparator DOUBLE_COLON
public static final FormatSeparator PARENTHESIS
public static final FormatSeparator ANGLED_BRACKETS
public static final FormatSeparator CURLY_BRACES
public static final FormatSeparator SQUARE_BRACKETS
public static FormatSeparator[] values()
for (FormatSeparator c : FormatSeparator.values()) System.out.println(c);
public static FormatSeparator valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String apply(java.util.Collection<java.lang.String> parts)
public java.lang.String getPrefix()
public java.lang.String getSeparator()
public java.lang.String getSuffix()
public boolean isAround()
public boolean isBetween()