public enum FlowControl extends Enum<FlowControl>
| Enum Constant and Description |
|---|
FLOW_DTR_DSR |
FLOW_NONE |
FLOW_RTS_CTS |
FLOW_XON_XOFF |
| Modifier and Type | Method and Description |
|---|---|
static FlowControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlowControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlowControl FLOW_NONE
public static final FlowControl FLOW_RTS_CTS
public static final FlowControl FLOW_DTR_DSR
public static final FlowControl FLOW_XON_XOFF
public static FlowControl[] values()
for (FlowControl c : FlowControl.values()) System.out.println(c);
public static FlowControl 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 © 2019. All rights reserved.