public static enum LineReader.LineBreak extends Enum<LineReader.LineBreak>
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes() |
LineReader.LineBreak |
valueFrom(byte b) |
static LineReader.LineBreak |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineReader.LineBreak[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineReader.LineBreak LF
public static final LineReader.LineBreak CRLF
public static LineReader.LineBreak[] values()
for (LineReader.LineBreak c : LineReader.LineBreak.values()) System.out.println(c);
public static LineReader.LineBreak 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 LineReader.LineBreak valueFrom(byte b)
public byte[] getBytes()
Copyright © 2019. All rights reserved.