Package | Description |
---|---|
org.apache.commons.vfs2.util |
Utility classes used by the VFS.
|
Modifier and Type | Field and Description |
---|---|
private static OsFamily[] |
Os.ALL_FAMILIES |
private OsFamily[] |
OsFamily.families |
private static OsFamily[] |
Os.OS_ALL_FAMILIES |
private static OsFamily |
Os.OS_FAMILY |
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 and Description |
---|---|
private static OsFamily[] |
Os.determineAllFamilies() |
private static OsFamily |
Os.determineOsFamily() |
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 and Description |
---|---|
private static boolean |
Os.familyMatches(OsFamily family) |
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.
|
Constructor and Description |
---|
OsFamily(java.lang.String name,
OsFamily[] families) |