public final class Volume extends Object
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
String |
getDescription() |
Obtains the description of this volume.
|
MountState |
getState() |
Obtains the mount state of this volume.
|
String |
getVolUuid() |
Obtains the UUID of this volume.
|
boolean |
isEmulated() |
Checks whether a device is a virtual device.
|
boolean |
isPluggable() |
Checks whether a device is swappable.
|
public boolean isEmulated()
true if the device is a virtual device; returns
false otherwise.public boolean isPluggable()
true if the device is swappable; returns
false otherwise.public String getDescription()
public MountState getState()
MountState, which indicates the mount state of this volume.public String getVolUuid()