public enum STTYMode extends Enum<STTYMode>
| Enum Constant and Description |
|---|
COOKED
Cooked mode wraps output lines and returns to start of line after
newline (essentially an LF automatically makes a CR)
|
RAW
Raw mode only moves the cursor according to the print and control
characters given.
|
| Modifier and Type | Method and Description |
|---|---|
static STTYMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static STTYMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final STTYMode RAW
public static final STTYMode COOKED
public static STTYMode[] values()
for (STTYMode c : STTYMode.values()) System.out.println(c);
public static STTYMode 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 © 2016. All rights reserved.