public static enum DiskUtil.OSType extends Enum<DiskUtil.OSType>
| Enum Constant and Description |
|---|
OS_TYPE_MAC |
OS_TYPE_SOLARIS |
OS_TYPE_UNIX |
OS_TYPE_WINXP |
| Modifier and Type | Method and Description |
|---|---|
static DiskUtil.OSType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiskUtil.OSType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiskUtil.OSType OS_TYPE_UNIX
public static final DiskUtil.OSType OS_TYPE_WINXP
public static final DiskUtil.OSType OS_TYPE_SOLARIS
public static final DiskUtil.OSType OS_TYPE_MAC
public static DiskUtil.OSType[] values()
for (DiskUtil.OSType c : DiskUtil.OSType.values()) System.out.println(c);
public static DiskUtil.OSType 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 nullCopyright © 2016 Apache Software Foundation. All Rights Reserved.