public class Volume extends Object
Get the available volumes by calling VolumeManager.getVolumes()
Modifier and Type | Field and Description |
---|---|
static String |
EMULATED_MEDIA_STORAGE
The type returned by
getType() if the volume is emulated from an additional storage directory. |
static String |
MEDIA_STORAGE
The type returned by
getType() if the volume is really built from the Media Storage Directory. |
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Returns the label of the volume.
|
File |
getRoot()
Returns the root directory of the volume.
|
String |
getType()
Returns the type of storage unit.
|
public static final String MEDIA_STORAGE
getType()
if the volume is really built from the Media Storage Directory.public File getRoot()
public String getLabel()
public String getType()