public enum DriveType extends Enum<DriveType>
Enum Constant and Description |
---|
FLASH
Onboard flash drive.
|
MASS_STORAGE
Removable mass storage drive.
|
RAM
RAM Drive.
|
READ_ONLY
Read only drive.
|
UNKNOWN
Unknown drive.
|
Modifier and Type | Method and Description |
---|---|
static DriveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DriveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DriveType FLASH
public static final DriveType RAM
public static final DriveType MASS_STORAGE
public static final DriveType UNKNOWN
public static final DriveType READ_ONLY
public static DriveType[] values()
for (DriveType c : DriveType.values()) System.out.println(c);
public static DriveType 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 null
© 2015 ZIH Corp. All Rights Reserved.