| Modifier and Type | Field and Description |
|---|---|
| public static final OS | AIX
IBM AIX operating system. |
| private static final OS | |
| public static final OS | LINUX
Linux-based operating system. |
| public static final OS | MAC
Apple Macintosh operating system (e.g., macOS). |
| public static final OS | OTHER
Anything else different from the above. |
| public static final OS | SOLARIS
Oracle Solaris operating system. |
| public static final OS | WINDOWS
Microsoft Windows operating system. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static OS | |
| private static OS | |
| public boolean | Returns: true if this OS is known to be the
operating system on which the current JVM is executingReturns |
| pack-priv static OS | |
| public static OS | |
| public static OS[] |
| AIX | back to summary |
|---|---|
| public static final OS AIX IBM AIX operating system. | |
| CURRENT_OS | back to summary |
|---|---|
| private static final OS CURRENT_OS | |
| LINUX | back to summary |
|---|---|
| public static final OS LINUX Linux-based operating system. | |
| MAC | back to summary |
|---|---|
| public static final OS MAC Apple Macintosh operating system (e.g., macOS). | |
| OTHER | back to summary |
|---|---|
| public static final OS OTHER Anything else different from the above. | |
| SOLARIS | back to summary |
|---|---|
| public static final OS SOLARIS Oracle Solaris operating system. | |
| WINDOWS | back to summary |
|---|---|
| public static final OS WINDOWS Microsoft Windows operating system. | |
| OS | back to summary |
|---|---|
| private OS() | |
| current | back to summary |
|---|---|
| public static OS current() Returns the current OS.
| |
| determineCurrentOs | back to summary |
|---|---|
| private static OS determineCurrentOs() | |
| isCurrent | back to summary |
|---|---|
| public boolean isCurrent() Returns
| |
| parse | back to summary |
|---|---|
| pack-priv static OS parse(String osName) | |
| valueOf | back to summary |
|---|---|
| public static OS valueOf(String name) | |
| values | back to summary |
|---|---|
| public static OS[] values() | |