|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjfun.util.os.Os
public class Os
Os specific information. Used to eliminate platform sensitivity. A copy-paste-change from Ant.
Zephyr Business Solution
Constructor Summary | |
---|---|
Os()
|
Method Summary | |
---|---|
static boolean |
isArch(java.lang.String arch)
Determines if the OS on which Ant is executing matches the given OS architecture. |
static boolean |
isFamily(java.lang.String family)
Determines if the OS on which Ant is executing matches the given OS family. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Os()
Method Detail |
---|
public static boolean isFamily(java.lang.String family)
family
- the family to check for
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |