public enum QuoteMode extends Enum<QuoteMode>
Enum Constant and Description |
---|
ALWAYS
Denotes that a field value is always surrounded by quotes.
|
DEFAULT
Denotes that the quote mode which is declared as the default one should be used.
|
NEVER
Denotes that a field value is never surrounded by quotes whereas single characters may be escaped instead.
|
ON_DEMAND
Denotes that a field value is surrounded by quotes only if it contains the delimiter char or line break.
|
Modifier and Type | Method and Description |
---|---|
static QuoteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuoteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuoteMode ALWAYS
public static final QuoteMode ON_DEMAND
public static final QuoteMode NEVER
public static final QuoteMode DEFAULT
public static QuoteMode[] values()
for (QuoteMode c : QuoteMode.values()) System.out.println(c);
public static QuoteMode 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 nullCopyright © 2014. All rights reserved.