public class CurrentOS
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CurrentOS.OSType |
| Constructor and Description |
|---|
CurrentOS() |
| Modifier and Type | Method and Description |
|---|---|
static CurrentOS.OSType |
getType()
detect the operating system from the os.name System property and cache
the result
|
static boolean |
isWindows() |
public static CurrentOS.OSType getType()
public static boolean isWindows()