A machine operating system.
| Operating System | Aliases |
|---|---|
| Windows | "windows" |
| GNU/Linux | "linux" |
| Mac OS X | "osx", "mac os x", "darwin" |
| Solaris | "solaris", "sunos" |
| Type | Name and description |
|---|---|
String |
getDisplayName()Returns a human-consumable display name for this operating system. |
boolean |
isCurrent()Is this the current OS? |
boolean |
isFreeBSD()Is it FreeBSD? |
boolean |
isLinux()Is it Linux? |
boolean |
isMacOsX()Is it Mac OS X? |
boolean |
isSolaris()Is it Solaris? |
boolean |
isWindows()Is it Windows? |
Returns a human-consumable display name for this operating system.
Is this the current OS?
Is it FreeBSD?
Is it Linux?
Is it Mac OS X?
Is it Solaris?
Is it Windows?