diff options
author | Sven Gothel <[email protected]> | 2012-10-24 16:57:46 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-24 16:57:46 +0200 |
commit | c1a8c38e32b4ed8f97fc82602c90eb7b0b3cef6e (patch) | |
tree | fa011da019ecb5184b6b3610070700e596128199 /src/java/com | |
parent | be7cd5059dea197bd3756e0b19f934041dc6ad13 (diff) |
VersionNumber: Add API doc for string parsing
Diffstat (limited to 'src/java/com')
-rw-r--r-- | src/java/com/jogamp/common/util/VersionNumber.java | 7 |
1 files changed, 7 insertions, 0 deletions
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<Object> { } /** + * Parser first tokenizes the input versionString w/ given delimiter. + * <p> + * Each token will represent major, minor and sub version number component. + * </p> + * <p> + * For each token it ignores any leading non-digit and uses only contiguous digits, i.e. ignores pending non-digits. + * </p> * @param versionString should be given as [MAJOR[.MINOR[.SUB]]] * @param delim the delimiter, e.g. "." */ |