com.jogamp.common.os
Class Platform

java.lang.Object
  extended by com.jogamp.common.os.Platform

public class Platform
extends java.lang.Object

Utility class for querying platform specific properties.

Author:
Michael Bien, Sven Gothel

Field Summary
static boolean JAVA_SE
           
static boolean LITTLE_ENDIAN
           
 
Method Summary
static java.lang.String getArch()
          Returns the CPU architecture String.
static java.lang.String getOS()
          Returns the OS name.
static int getPointerSizeInBits()
           
static boolean is32Bit()
          Returns true if this JVM is a 32bit JVM.
static boolean isJavaSE()
          Returns true only if this program is running on the Java Standard Edition.
static boolean isLittleEndian()
          Returns true only if this system uses little endian byte ordering.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVA_SE

public static final boolean JAVA_SE

LITTLE_ENDIAN

public static final boolean LITTLE_ENDIAN
Method Detail

isJavaSE

public static boolean isJavaSE()
Returns true only if this program is running on the Java Standard Edition.


isLittleEndian

public static boolean isLittleEndian()
Returns true only if this system uses little endian byte ordering.


getOS

public static java.lang.String getOS()
Returns the OS name.


getArch

public static java.lang.String getArch()
Returns the CPU architecture String.


is32Bit

public static boolean is32Bit()
Returns true if this JVM is a 32bit JVM.


getPointerSizeInBits

public static int getPointerSizeInBits()