Package | Description |
---|---|
org.apache.commons.vfs2.util |
Utility classes used by the VFS.
|
Modifier and Type | Field and 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 and Description |
---|---|
OsFamily[] |
OsFamily.getFamilies()
Returns the OS families that this family belongs to.
|
static OsFamily |
Os.getFamily(String name)
Locates an OsFamily by name (case-insensitive).
|
Modifier and Type | Method and 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,
String name,
String arch,
String version)
Determines if the OS on which Ant is executing matches the given OS
family, name, architecture and version.
|
Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.