com.jogamp.common.os
Class Platform

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

public class Platform
extends Object

Utility class for querying platform specific properties.

Author:
Michael Bien, Sven Gothel

Field Summary
static String ARCH
           
static boolean JAVA_SE
           
static String JAVA_VENDOR
           
static String JAVA_VENDOR_URL
           
static String JAVA_VERSION
           
static boolean LITTLE_ENDIAN
           
static String NEWLINE
           
static String OS
           
static String OS_VERSION
           
 
Method Summary
static String getArch()
          Returns the CPU architecture String.
static String getJavaVendor()
          Returns the JAVA.
static String getJavaVendorURL()
          Returns the JAVA vendor url.
static String getJavaVersion()
          Returns the JAVA vendor.
static String getNewline()
          Returns the JAVA vendor.
static String getOS()
          Returns the OS name.
static String getOSVersion()
          Returns the OS version.
static int getPointerSizeInBits()
           
static int getPointerSizeInBytes()
           
static boolean is32Bit()
          Returns true if this JVM is a 32bit JVM.
static boolean is64Bit()
          Returns true if this JVM is a 64bit 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

OS

public static final String OS

OS_VERSION

public static final String OS_VERSION

ARCH

public static final String ARCH

JAVA_VENDOR

public static final String JAVA_VENDOR

JAVA_VENDOR_URL

public static final String JAVA_VENDOR_URL

JAVA_VERSION

public static final String JAVA_VERSION

NEWLINE

public static final String NEWLINE
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 String getOS()
Returns the OS name.


getOSVersion

public static String getOSVersion()
Returns the OS version.


getArch

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


getJavaVendor

public static String getJavaVendor()
Returns the JAVA.


getJavaVendorURL

public static String getJavaVendorURL()
Returns the JAVA vendor url.


getJavaVersion

public static String getJavaVersion()
Returns the JAVA vendor.


getNewline

public static String getNewline()
Returns the JAVA vendor.


is32Bit

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


is64Bit

public static boolean is64Bit()
Returns true if this JVM is a 64bit JVM.


getPointerSizeInBits

public static int getPointerSizeInBits()

getPointerSizeInBytes

public static int getPointerSizeInBytes()