summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/VersionUtil.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-11-18 17:07:00 +0100
committerMichael Bien <[email protected]>2010-11-18 17:07:00 +0100
commit80e26cb102201af7d4159842edf39bcf989ebaa1 (patch)
treed4df5aa1e42a561942160c915293f6aa6818a1ac /src/java/com/jogamp/common/util/VersionUtil.java
parent1e0288b397dfd914532c0f0cde850f4e5c5bc91d (diff)
print platform info (GlueGenVersion).
Diffstat (limited to 'src/java/com/jogamp/common/util/VersionUtil.java')
-rw-r--r--src/java/com/jogamp/common/util/VersionUtil.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/util/VersionUtil.java b/src/java/com/jogamp/common/util/VersionUtil.java
index ac4d0b8..123d1e5 100644
--- a/src/java/com/jogamp/common/util/VersionUtil.java
+++ b/src/java/com/jogamp/common/util/VersionUtil.java
@@ -67,6 +67,14 @@ public class VersionUtil {
}
/**
+ * Prints platfomr info.
+ * @see #getPlatformInfo(java.lang.StringBuffer)
+ */
+ public static String getPlatformInfo() {
+ return getPlatformInfo(null).toString();
+ }
+
+ /**
* Returns the manifest of the jar which contains the specified extension.
* The provided ClassLoader is used for resource loading.
* @param cl A ClassLoader which should find the manifest.