public class VersionNumberString extends VersionNumber
VersionNumber
specialization, holding the versionString
this instance is derived from.Modifier and Type | Field and Description |
---|---|
protected String |
strVal |
static VersionNumberString |
zeroVersion
A
zero version instance, w/o any component defined explicitly. |
Modifier | Constructor and 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,
Pattern versionPattern)
|
|
VersionNumberString(String versionString,
String delim)
|
Modifier and Type | Method and Description |
---|---|
String |
getVersionString()
Returns the version string this version number is derived from.
|
String |
toString() |
compareTo, compareTo, endOfStringMatch, equals, getDefaultVersionNumberPattern, getMajor, getMinor, getSub, getVersionNumberPattern, hashCode, hasMajor, hasMinor, hasSub, isZero
public static final VersionNumberString zeroVersion
zero
version instance, w/o any component defined explicitly.protected final String strVal
protected VersionNumberString(int majorRev, int minorRev, int subMinorRev, int strEnd, short _state, String versionString)
public VersionNumberString(int majorRev, int minorRev, int subMinorRev, String versionString)
public VersionNumberString(String versionString)
public final String getVersionString()
public String toString()
toString
in class VersionNumber