public enum ReadOptionType extends java.lang.Enum<ReadOptionType>
| Enum Constant and Description |
|---|
ADD_EOLNS
Return lines with end-of-line characters/sequences for this OS
|
NONEMPTY
Return only lines containing other than whitespace.
|
WITH_EXCEPTION
Throw an exception if there is an error reading the file.
|
| Modifier and Type | Method and Description |
|---|---|
static ReadOptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadOptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadOptionType NONEMPTY
public static final ReadOptionType ADD_EOLNS
public static final ReadOptionType WITH_EXCEPTION
public static ReadOptionType[] values()
for (ReadOptionType c : ReadOptionType.values()) System.out.println(c);
public static ReadOptionType 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 null