public enum DeviceType extends java.lang.Enum<DeviceType>
Enum Constant and Description |
---|
DVD
CD/DVD-ROM device.
|
Floppy
Floppy device.
|
Graphics3D
Graphics device 3D activity.
|
HardDisk
Hard disk device.
|
Network
Network device.
|
Null
Null value, may also mean "no device" (not allowed for
IConsole.getDeviceActivity(List) ). |
SharedFolder
Shared folder device.
|
USB
USB device.
|
Modifier and Type | Method and Description |
---|---|
static DeviceType |
fromValue(long v) |
static DeviceType |
fromValue(java.lang.String v) |
int |
value() |
static DeviceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceType Null
IConsole.getDeviceActivity(List)
).public static final DeviceType Floppy
public static final DeviceType DVD
public static final DeviceType HardDisk
public static final DeviceType Network
public static final DeviceType USB
public static final DeviceType SharedFolder
public static final DeviceType Graphics3D
public static DeviceType[] values()
for (DeviceType c : DeviceType.values()) System.out.println(c);
public static DeviceType 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 nullpublic int value()
public static DeviceType fromValue(long v)
public static DeviceType fromValue(java.lang.String v)