public enum EscapingMode extends java.lang.Enum<EscapingMode> implements ValueEnum
DataSource.recordsAsText() or DataSource.recordsFromText().| Enum Constant and Description |
|---|
BACKSLASH
double quotes in data values have a blackslash (\) prepended, similar to String escaping in JavaScript and Java
|
DOUBLE
Literal double quotes in data values are doubled (""), as expected by Microsoft Excel when pasting text values
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static EscapingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EscapingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EscapingMode DOUBLE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "double".
public static final EscapingMode BACKSLASH
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "backslash".
public static EscapingMode[] values()
for (EscapingMode c : EscapingMode.values()) System.out.println(c);
public static EscapingMode 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 null