summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/VersionUtil.java
diff options
context:
space:
mode:
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.