public static enum IonTextWriterBuilder.NewLineType extends Enum<IonTextWriterBuilder.NewLineType>
NEL
) will result in printing invalid Ion.Enum Constant and Description |
---|
CRLF
A carriage return and linefeed (
U+000D followed by U+000A ). |
LF
A single linefeed (
U+000A ). |
PLATFORM_DEPENDENT
The new-line separator specified in the "line.separator" system property.
|
Modifier and Type | Method and Description |
---|---|
CharSequence |
getCharSequence() |
static IonTextWriterBuilder.NewLineType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IonTextWriterBuilder.NewLineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IonTextWriterBuilder.NewLineType CRLF
U+000D
followed by U+000A
).public static final IonTextWriterBuilder.NewLineType LF
U+000A
).public static final IonTextWriterBuilder.NewLineType PLATFORM_DEPENDENT
public static IonTextWriterBuilder.NewLineType[] values()
for (IonTextWriterBuilder.NewLineType c : IonTextWriterBuilder.NewLineType.values()) System.out.println(c);
public static IonTextWriterBuilder.NewLineType 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 CharSequence getCharSequence()