| Modifier and Type | Field and Description |
|---|---|
| public static final LineEnding | CR
Legacy Mac OS line ending, ASCII CR (0x0d). |
| public static final LineEnding | CRLF
Windows line ending, sequence of CR/LF (0x0d 0x0a). |
| public static final LineEnding | LF
macOS/Unix line ending, ASCII LF (0x0a). |
| private static final LineEnding |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| private static LineEnding | |
| public static LineEnding | Returns: the system default line endingReturns the |
| public static LineEnding | |
| public static LineEnding[] |
| CR | back to summary |
|---|---|
| public static final LineEnding CR Legacy Mac OS line ending, ASCII CR (0x0d). | |
| CRLF | back to summary |
|---|---|
| public static final LineEnding CRLF Windows line ending, sequence of CR/LF (0x0d 0x0a). | |
| LF | back to summary |
|---|---|
| public static final LineEnding LF macOS/Unix line ending, ASCII LF (0x0a). | |
| system | back to summary |
|---|---|
| private static final LineEnding system | |
| LineEnding | back to summary |
|---|---|
| private LineEnding() | |
| getText | back to summary |
|---|---|
| public String getText() Returns the line ending as a
| |
| init | back to summary |
|---|---|
| private static LineEnding init() | |
| system | back to summary |
|---|---|
| public static LineEnding system() Returns the
| |
| valueOf | back to summary |
|---|---|
| public static LineEnding valueOf(String name) | |
| values | back to summary |
|---|---|
| public static LineEnding[] values() | |