com.lambdaworks.jni
Class Platform
java.lang.Object
com.lambdaworks.jni.Platform
public class Platform
- extends Object
A platform is a unique combination of CPU architecture and operating system. This class
attempts to determine the platform it is executing on by examining and normalizing the
os.arch and os.name system properties.
- Author:
- Will Glozer
|
Method Summary |
static Platform |
detect()
Attempt to detect the current platform. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
arch
public final Platform.Arch arch
os
public final Platform.OS os
detect
public static Platform detect()
throws UnsupportedPlatformException
- Attempt to detect the current platform.
- Returns:
- The current platform.
- Throws:
UnsupportedPlatformException - if the platform cannot be detected.
Copyright © 2013. All Rights Reserved.