public enum Delimiter extends Enum<Delimiter>
Enum Constant and Description |
---|
DOUBLE_QUOTE |
EMPTY |
SINGLE_QUOTE |
Modifier and Type | Field and Description |
---|---|
private char |
value
.
|
Modifier and Type | Method and Description |
---|---|
String |
escape(CharSequence s) |
void |
escape(CharSequence s,
Appendable appendable) |
abstract void |
escape(CharSequence s,
int start,
int end,
Appendable appendable) |
char |
getValue() |
static Delimiter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Delimiter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Delimiter SINGLE_QUOTE
public static final Delimiter DOUBLE_QUOTE
private final char value
public static Delimiter[] values()
for (Delimiter c : Delimiter.values()) System.out.println(c);
public static Delimiter 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 char getValue()
public final String escape(CharSequence s)
public final void escape(CharSequence s, Appendable appendable) throws IOException
IOException
public abstract void escape(CharSequence s, int start, int end, Appendable appendable) throws IOException
IOException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.