Package | Description |
---|---|
org.apache.commons.vfs.util |
Utility classes used by the VFS.
|
Modifier and Type | Field | Description |
---|---|---|
static OsFamily |
Os.OS_FAMILY_DOS |
All DOS based OSes.
|
static OsFamily |
Os.OS_FAMILY_MAC |
All Mac based OSes.
|
static OsFamily |
Os.OS_FAMILY_NETWARE |
Netware
|
static OsFamily |
Os.OS_FAMILY_OS2 |
OS/2
|
static OsFamily |
Os.OS_FAMILY_OSX |
OSX
|
static OsFamily |
Os.OS_FAMILY_UNIX |
All UNIX based OSes.
|
static OsFamily |
Os.OS_FAMILY_WIN9X |
All Windows 9x based OSes.
|
static OsFamily |
Os.OS_FAMILY_WINDOWS |
All Windows based OSes.
|
static OsFamily |
Os.OS_FAMILY_WINNT |
All Windows NT based OSes.
|
Modifier and Type | Method | Description |
---|---|---|
OsFamily[] |
OsFamily.getFamilies() |
Returns the OS families that this family belongs to.
|
static OsFamily |
Os.getFamily(java.lang.String name) |
Locates an OsFamily by name (case-insensitive).
|
Modifier and Type | Method | Description |
---|---|---|
static boolean |
Os.isFamily(OsFamily family) |
Determines if the OS on which Ant is executing matches the given OS
family.
|
static boolean |
Os.isOs(OsFamily family,
java.lang.String name,
java.lang.String arch,
java.lang.String version) |
Determines if the OS on which Ant is executing matches the given OS
family, name, architecture and version
|