public enum TerminalType extends Enum<TerminalType>
Enum Constant and Description |
---|
ANSI
ansi
|
BASH
bash
|
DUMB
dumb
|
LINUX
linux
|
SCO_ANSI
scoansi
|
VT_100
vt100
|
VT_102
vt102
|
VT_220
vt220
|
VT_320
vt320
|
XTERM
xterm
|
XTERM_16_COLOR
xterm-16color
|
XTERM_256_COLOR
xterm-256color
|
Modifier and Type | Method and Description |
---|---|
String |
getType() |
static TerminalType |
of(String type) |
static TerminalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TerminalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TerminalType XTERM
public static final TerminalType XTERM_16_COLOR
public static final TerminalType XTERM_256_COLOR
public static final TerminalType BASH
public static final TerminalType VT_100
public static final TerminalType VT_102
public static final TerminalType VT_220
public static final TerminalType VT_320
public static final TerminalType LINUX
public static final TerminalType ANSI
public static final TerminalType DUMB
public static final TerminalType SCO_ANSI
public static TerminalType[] values()
for (TerminalType c : TerminalType.values()) System.out.println(c);
public static TerminalType 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 String getType()
public static TerminalType of(String type)
Copyright © 2024. All rights reserved.