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