From c1a8c38e32b4ed8f97fc82602c90eb7b0b3cef6e Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 24 Oct 2012 16:57:46 +0200 Subject: VersionNumber: Add API doc for string parsing --- src/java/com/jogamp/common/util/VersionNumber.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/java/com/jogamp/common/util/VersionNumber.java b/src/java/com/jogamp/common/util/VersionNumber.java index 1bf9dbf..a35c15e 100644 --- a/src/java/com/jogamp/common/util/VersionNumber.java +++ b/src/java/com/jogamp/common/util/VersionNumber.java @@ -43,6 +43,13 @@ public class VersionNumber implements Comparable { } /** + * Parser first tokenizes the input versionString w/ given delimiter. + *

+ * Each token will represent major, minor and sub version number component. + *

+ *

+ * For each token it ignores any leading non-digit and uses only contiguous digits, i.e. ignores pending non-digits. + *

* @param versionString should be given as [MAJOR[.MINOR[.SUB]]] * @param delim the delimiter, e.g. "." */ -- cgit v1.2.3