Package com.jogamp.common.util
Class VersionNumberString
- java.lang.Object
-
- com.jogamp.common.util.VersionNumber
-
- com.jogamp.common.util.VersionNumberString
-
- All Implemented Interfaces:
Comparable<Object>
public class VersionNumberString extends VersionNumber
VersionNumber
specialization, holding theversionString
this instance is derived from.
-
-
Field Summary
Fields Modifier and Type Field Description protected String
strVal
static VersionNumberString
zeroVersion
Azero
version instance, w/o any component defined explicitly.
-
Constructor Summary
Constructors Modifier Constructor Description protected
VersionNumberString(int majorRev, int minorRev, int subMinorRev, int strEnd, short _state, String versionString)
VersionNumberString(int majorRev, int minorRev, int subMinorRev, String versionString)
VersionNumberString(String versionString)
VersionNumberString(String versionString, String delim)
VersionNumberString(String versionString, Pattern versionPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getVersionString()
Returns the version string this version number is derived from.String
toString()
-
Methods inherited from class com.jogamp.common.util.VersionNumber
compareTo, compareTo, endOfStringMatch, equals, getDefaultVersionNumberPattern, getMajor, getMinor, getSub, getVersionNumberPattern, hashCode, hasMajor, hasMinor, hasSub, isZero
-
-
-
-
Field Detail
-
zeroVersion
public static final VersionNumberString zeroVersion
Azero
version instance, w/o any component defined explicitly.
-
strVal
protected final String strVal
-
-
Constructor Detail
-
VersionNumberString
protected VersionNumberString(int majorRev, int minorRev, int subMinorRev, int strEnd, short _state, String versionString)
-
VersionNumberString
public VersionNumberString(int majorRev, int minorRev, int subMinorRev, String versionString)
-
VersionNumberString
public VersionNumberString(String versionString)
-
-
Method Detail
-
getVersionString
public final String getVersionString()
Returns the version string this version number is derived from.
-
toString
public String toString()
- Overrides:
toString
in classVersionNumber
-
-