public static enum UnderFileSystem.SpaceType extends Enum<UnderFileSystem.SpaceType>
Enum Constant and Description |
---|
SPACE_FREE
Indicates the amount of free space available in the under file system.
|
SPACE_TOTAL
Indicates the storage capacity of the under file system.
|
SPACE_USED
Indicates the amount of space used in the under file system.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static UnderFileSystem.SpaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnderFileSystem.SpaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnderFileSystem.SpaceType SPACE_TOTAL
public static final UnderFileSystem.SpaceType SPACE_FREE
public static final UnderFileSystem.SpaceType SPACE_USED
public static UnderFileSystem.SpaceType[] values()
for (UnderFileSystem.SpaceType c : UnderFileSystem.SpaceType.values()) System.out.println(c);
public static UnderFileSystem.SpaceType 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 nullpublic int getValue()
Copyright © 2023. All Rights Reserved.