public static enum PTY.Mode extends Enum<PTY.Mode>
Enum Constant and Description |
---|
CONSOLE
This mode is for use with an Eclipse console.
|
TERMINAL
This mode is for use with a terminal emulator.
|
Modifier and Type | Method and Description |
---|---|
static PTY.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PTY.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PTY.Mode CONSOLE
public static final PTY.Mode TERMINAL
public static PTY.Mode[] values()
for (PTY.Mode c : PTY.Mode.values()) System.out.println(c);
public static PTY.Mode 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 (c) IBM Corp. and others 2004, 2020. All Rights Reserved.