|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.yestech.lib.runtime.OperatingSystem
public final class OperatingSystem
| Method Summary | |
|---|---|
static java.lang.String |
findWindowsSystemRoot()
|
static java.lang.String |
getOsName()
|
static boolean |
isArch(java.lang.String arch)
Determines if the OS on which Ant is executing matches the given OS architecture. |
static boolean |
isFamilyAix()
|
static boolean |
isFamilyDOS()
|
static boolean |
isFamilyLinux()
|
static boolean |
isFamilyMac()
|
static boolean |
isFamilyNetware()
|
static boolean |
isFamilyOpenVms()
|
static boolean |
isFamilyOS2()
|
static boolean |
isFamilyOS400()
|
static boolean |
isFamilySolaris()
|
static boolean |
isFamilyTandem()
|
static boolean |
isFamilyUnix()
|
static boolean |
isFamilyWin9x()
|
static boolean |
isFamilyWindows()
|
static boolean |
isFamilyZOS()
|
static boolean |
isName(java.lang.String name)
Determines if the OS on which Ant is executing matches the given OS name. |
static boolean |
isOs(java.lang.String 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 |
static boolean |
isVersion(java.lang.String version)
Determines if the OS on which Ant is executing matches the given OS version. |
static java.lang.String |
platform()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isFamilyDOS()
public static boolean isFamilyMac()
public static boolean isFamilyNetware()
public static boolean isFamilyOS2()
public static boolean isFamilyTandem()
public static boolean isFamilyUnix()
public static boolean isFamilySolaris()
public static boolean isFamilyAix()
public static boolean isFamilyWindows()
public static boolean isFamilyWin9x()
public static boolean isFamilyZOS()
public static boolean isFamilyOS400()
public static boolean isFamilyOpenVms()
public static boolean isFamilyLinux()
public static boolean isName(java.lang.String name)
name - the OS name to check for
public static boolean isArch(java.lang.String arch)
arch - the OS architecture to check for
public static boolean isVersion(java.lang.String version)
version - the OS version to check for
public static boolean isOs(java.lang.String family,
java.lang.String name,
java.lang.String arch,
java.lang.String version)
family - The OS familyname - The OS namearch - The OS architectureversion - The OS version
public static java.lang.String getOsName()
public static java.lang.String platform()
public static java.lang.String findWindowsSystemRoot()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||