public static enum IonTextWriterBuilder.NewLineType extends java.lang.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 |
|---|---|
java.lang.CharSequence |
getCharSequence() |
static IonTextWriterBuilder.NewLineType |
valueOf(java.lang.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(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 nullpublic java.lang.CharSequence getCharSequence()