public static enum GatewayUtils.SERIAL_PORT_DRIVER extends Enum<GatewayUtils.SERIAL_PORT_DRIVER>
Enum Constant and Description |
---|
AUTO |
JSERIALCOMM |
JSSC |
PI4J |
Modifier and Type | Method and Description |
---|---|
static GatewayUtils.SERIAL_PORT_DRIVER |
fromString(String text) |
static GatewayUtils.SERIAL_PORT_DRIVER |
get(int id) |
String |
getText() |
static GatewayUtils.SERIAL_PORT_DRIVER |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GatewayUtils.SERIAL_PORT_DRIVER[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GatewayUtils.SERIAL_PORT_DRIVER AUTO
public static final GatewayUtils.SERIAL_PORT_DRIVER PI4J
public static final GatewayUtils.SERIAL_PORT_DRIVER JSSC
public static final GatewayUtils.SERIAL_PORT_DRIVER JSERIALCOMM
public static GatewayUtils.SERIAL_PORT_DRIVER[] values()
for (GatewayUtils.SERIAL_PORT_DRIVER c : GatewayUtils.SERIAL_PORT_DRIVER.values()) System.out.println(c);
public static GatewayUtils.SERIAL_PORT_DRIVER 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 getText()
public static GatewayUtils.SERIAL_PORT_DRIVER get(int id)
public static GatewayUtils.SERIAL_PORT_DRIVER fromString(String text)
Copyright © 2015–2019. All rights reserved.