public enum UsbDeviceType extends java.lang.Enum<UsbDeviceType>
Enum Constant and Description |
---|
USB_BLOCK_DEVICE |
USB_MODEM_DEVICE |
USB_NET_DEVICE |
USB_TTY_DEVICE |
Modifier and Type | Method and Description |
---|---|
static UsbDeviceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UsbDeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsbDeviceType USB_BLOCK_DEVICE
public static final UsbDeviceType USB_MODEM_DEVICE
public static final UsbDeviceType USB_NET_DEVICE
public static final UsbDeviceType USB_TTY_DEVICE
public static UsbDeviceType[] values()
for (UsbDeviceType c : UsbDeviceType.values()) System.out.println(c);
public static UsbDeviceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null