public enum SegmentWhitespace extends Enum<SegmentWhitespace>
| Enum Constant and Description |
|---|
CR
Newline character (0x0D) added at end of segment.
|
CRLF
Newline-linefeed characters sequence (0x0D0A) added at end of segment.
|
LF
Linefeed character (0x0A) added at end of segment.
|
NONE
No added whitespace at end of segment.
|
| Modifier and Type | Field and Description |
|---|---|
String |
whitespace |
| Modifier and Type | Method and Description |
|---|---|
static SegmentWhitespace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SegmentWhitespace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SegmentWhitespace NONE
public static final SegmentWhitespace LF
public static final SegmentWhitespace CRLF
public static final SegmentWhitespace CR
public final String whitespace
public static SegmentWhitespace[] values()
for (SegmentWhitespace c : SegmentWhitespace.values()) System.out.println(c);
public static SegmentWhitespace 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 © 2020 MuleSoft, Inc.. All rights reserved.