public class Platform extends Object
os.arch and os.name system properties.| Modifier and Type | Class and Description |
|---|---|
static class |
Platform.Arch |
static class |
Platform.OS |
| Modifier and Type | Field and Description |
|---|---|
Platform.Arch |
arch |
Platform.OS |
os |
| Modifier and Type | Method and Description |
|---|---|
static Platform |
detect()
Attempt to detect the current platform.
|
public final Platform.Arch arch
public final Platform.OS os
public static Platform detect() throws UnsupportedPlatformException
UnsupportedPlatformException - if the platform cannot be detected.Copyright © 2017. All rights reserved.