public final class DriveType extends Object
| Modifier and Type | Field and Description |
|---|---|
static DriveType |
EXTERNAL_MANAGEMENT |
static DriveType |
FILE_SYSTEM
The Constant FileSystem.
|
| Constructor and Description |
|---|
DriveType(String driveType)
Instantiates a new drive type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getString()
Returns the drive type string.
|
int |
hashCode() |
boolean |
isExternalManagement()
Returns
true if the drive type is [ON] External management. |
boolean |
isFileSystem()
Returns
true if the drive type is [ON] File system. |
public static final DriveType FILE_SYSTEM
public static final DriveType EXTERNAL_MANAGEMENT
public DriveType(String driveType)
driveType - the drive typepublic String getString()
public boolean isFileSystem()
true if the drive type is [ON] File system.public boolean isExternalManagement()
true if the drive type is [ON] External management.