public static enum CsvFieldTrait.QuoteStrategy extends Enum<CsvFieldTrait.QuoteStrategy>
Enum Constant and Description |
---|
ALWAYS
Quotes always.
|
NEEDED
Quotes only if needed.
|
Modifier and Type | Method and Description |
---|---|
static Optional<CsvFieldTrait.QuoteStrategy> |
fromSymbol(String symbol)
Returns the constant from the symbol.
|
static CsvFieldTrait.QuoteStrategy |
getDefault()
Returns the default value.
|
static CsvFieldTrait.QuoteStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CsvFieldTrait.QuoteStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CsvFieldTrait.QuoteStrategy NEEDED
public static final CsvFieldTrait.QuoteStrategy ALWAYS
public static CsvFieldTrait.QuoteStrategy[] values()
for (CsvFieldTrait.QuoteStrategy c : CsvFieldTrait.QuoteStrategy.values()) System.out.println(c);
public static CsvFieldTrait.QuoteStrategy 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 static CsvFieldTrait.QuoteStrategy getDefault()
public static Optional<CsvFieldTrait.QuoteStrategy> fromSymbol(String symbol)
symbol
- the symbolCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.