com.jogamp.common.util
Class VersionUtil

java.lang.Object
  extended by com.jogamp.common.util.VersionUtil

public class VersionUtil
extends Object


Constructor Summary
VersionUtil()
           
 
Method Summary
static StringBuffer getFullManifestInfo(Manifest mf, StringBuffer sb)
           
static Manifest getManifest(ClassLoader cl, String extension)
          Returns the manifest of the jar which contains the specified extension.
static String getPlatformInfo()
          Prints platfomr info.
static StringBuffer getPlatformInfo(StringBuffer sb)
          Appends environment information like OS, JVM and CPU architecture properties to the StringBuffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionUtil

public VersionUtil()
Method Detail

getPlatformInfo

public static StringBuffer getPlatformInfo(StringBuffer sb)
Appends environment information like OS, JVM and CPU architecture properties to the StringBuffer.


getPlatformInfo

public static String getPlatformInfo()
Prints platfomr info.

See Also:
getPlatformInfo(java.lang.StringBuffer)

getManifest

public static Manifest getManifest(ClassLoader cl,
                                   String extension)
Returns the manifest of the jar which contains the specified extension. The provided ClassLoader is used for resource loading.

Parameters:
cl - A ClassLoader which should find the manifest.
extension - The value of the 'Extension-Name' jar-manifest attribute; used to identify the manifest.
Returns:
the requested manifest or null when not found.

getFullManifestInfo

public static StringBuffer getFullManifestInfo(Manifest mf,
                                               StringBuffer sb)