|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.twelvemonkeys.lang.Platform
public final class Platform
Platform
| Nested Class Summary | |
|---|---|
static class |
Platform.Architecture
Enumeration of common System Architectures. |
static class |
Platform.OperatingSystem
Enumeration of common OperatingSystems. |
| Method Summary | |
|---|---|
static Platform.Architecture |
arch()
Shorthand for Platform.get().getArchitecture(). |
static Platform |
get()
Returns the current Platform. |
Platform.Architecture |
getArchitecture()
|
Platform.OperatingSystem |
getOS()
|
String |
getVersion()
|
static Platform.OperatingSystem |
os()
Shorthand for Platform.get().getOS(). |
static String |
version()
Shorthand for Platform.get().getVersion(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Platform get()
Platform.
Platform.public Platform.OperatingSystem getOS()
public String getVersion()
public Platform.Architecture getArchitecture()
public static Platform.OperatingSystem os()
Platform.get().getOS().
OperatingSystem.public static String version()
Platform.get().getVersion().
public static Platform.Architecture arch()
Platform.get().getArchitecture().
Architecture.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||