public enum Terminal extends Enum<Terminal>
Enum Constant and Description |
---|
CYGWIN |
UNKNOWN
Unknown terminal.
|
XTERM |
Modifier and Type | Method and Description |
---|---|
static Terminal |
toTerminal()
Determines the terminal your application is currently in.
|
static Terminal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Terminal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Terminal XTERM
public static final Terminal CYGWIN
public static final Terminal UNKNOWN
public static Terminal[] values()
for (Terminal c : Terminal.values()) System.out.println(c);
public static Terminal 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 © 2017. All rights reserved.