Class OS
java.lang.Object
org.apache.commons.exec.OS
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanDetermines if the OS on which Ant is executing matches the given OS architecture.static booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanDetermines if the OS on which Ant is executing matches the given OS name.static booleanDetermines if the OS on which Ant is executing matches the given OS family, name, architecture and versionstatic booleanDetermines if the OS on which Ant is executing matches the given OS version.
-
Method Details
-
isFamilyDOS
-
isFamilyMac
-
isFamilyNetware
-
isFamilyOS2
-
isFamilyTandem
-
isFamilyUnix
-
isFamilyWindows
-
isFamilyWin9x
-
isFamilyZOS
-
isFamilyOS400
-
isFamilyOpenVms
-
isName
-
isArch
-
isVersion
-
isOs
Determines if the OS on which Ant is executing matches the given OS family, name, architecture and version- Parameters:
family- The OS familyname- The OS namearch- The OS architectureversion- The OS version- Returns:
- true if the OS matches
-