jaulib v1.3.0
Jau Support Library (C++, Java, ..)
|
VersionNumber
specialization, holding the versionString
this instance is derived from.
More...
Public Member Functions | |
VersionNumberString (final int majorRev, final int minorRev, final int subMinorRev, final String versionString) | |
See VersionNumber#VersionNumber(int, int, int) . More... | |
VersionNumberString (final String versionString) | |
See VersionNumber#VersionNumber(String) . More... | |
VersionNumberString (final String versionString, final String delim) | |
See VersionNumber#VersionNumber(String, String) . More... | |
VersionNumberString (final String versionString, final java.util.regex.Pattern versionPattern) | |
See VersionNumber#VersionNumber(String, java.util.regex.Pattern) . More... | |
final String | getVersionString () |
Returns the version string this version number is derived from. More... | |
String | toString () |
Public Member Functions inherited from org.jau.util.VersionNumber | |
VersionNumber (final int majorRev, final int minorRev, final int subMinorRev) | |
Explicit version number instantiation, with all components defined explicitly. More... | |
VersionNumber (final String versionString) | |
String derived version number instantiation. More... | |
VersionNumber (final String versionString, final String delim) | |
String derived version number instantiation. More... | |
VersionNumber (final String versionString, final java.util.regex.Pattern versionPattern) | |
String derived version number instantiation. More... | |
final boolean | isZero () |
Returns true , if all version components are zero, otherwise false . More... | |
final boolean | hasMajor () |
Returns true , if the major component is defined explicitly, otherwise false . More... | |
final boolean | hasMinor () |
Returns true , if the optional minor component is defined explicitly, otherwise false . More... | |
final boolean | hasSub () |
Returns true , if the optional sub component is defined explicitly, otherwise false . More... | |
final int | endOfStringMatch () |
If constructed with version-string , returns the string offset after the last matching character, or 0 if none matched, or -1 if not constructed with a string. More... | |
final int | hashCode () |
final boolean | equals (final Object o) |
final int | compareTo (final Object o) |
final int | compareTo (final VersionNumber vo) |
final int | getMajor () |
final int | getMinor () |
final int | getSub () |
String | toString () |
Static Public Attributes | |
static final VersionNumberString | zeroVersion = new VersionNumberString(0, 0, 0, -1, (short)0, "n/a") |
A zero version instance, w/o any component defined explicitly. More... | |
Static Public Attributes inherited from org.jau.util.VersionNumber | |
static final VersionNumber | zeroVersion = new VersionNumber(0, 0, 0, -1, (short)0) |
A zero version instance, w/o any component defined explicitly. More... | |
Protected Member Functions | |
VersionNumberString (final int majorRev, final int minorRev, final int subMinorRev, final int strEnd, final short _state, final String versionString) | |
Protected Member Functions inherited from org.jau.util.VersionNumber | |
VersionNumber (final int majorRev, final int minorRev, final int subMinorRev, final int _strEnd, final short _state) | |
Protected Attributes | |
final String | strVal |
Protected Attributes inherited from org.jau.util.VersionNumber | |
final int | major |
final int | minor |
final int | sub |
final int | strEnd |
final short | state |
Additional Inherited Members | |
Static Public Member Functions inherited from org.jau.util.VersionNumber | |
static java.util.regex.Pattern | getVersionNumberPattern (final String delim) |
Returns the pattern with Perl regular expression: More... | |
static java.util.regex.Pattern | getDefaultVersionNumberPattern () |
Returns the default pattern using getVersionNumberPattern(String) with delimiter "<b>.</b>". More... | |
Static Protected Attributes inherited from org.jau.util.VersionNumber | |
static final short | HAS_MAJOR = 1 << 0 |
static final short | HAS_MINOR = 1 << 1 |
static final short | HAS_SUB = 1 << 2 |
VersionNumber
specialization, holding the versionString
this instance is derived from.
Definition at line 33 of file VersionNumberString.java.
|
protected |
Definition at line 45 of file VersionNumberString.java.
org.jau.util.VersionNumberString.VersionNumberString | ( | final int | majorRev, |
final int | minorRev, | ||
final int | subMinorRev, | ||
final String | versionString | ||
) |
See VersionNumber#VersionNumber(int, int, int)
.
Definition at line 53 of file VersionNumberString.java.
org.jau.util.VersionNumberString.VersionNumberString | ( | final String | versionString | ) |
See VersionNumber#VersionNumber(String)
.
Definition at line 60 of file VersionNumberString.java.
org.jau.util.VersionNumberString.VersionNumberString | ( | final String | versionString, |
final String | delim | ||
) |
See VersionNumber#VersionNumber(String, String)
.
Definition at line 68 of file VersionNumberString.java.
org.jau.util.VersionNumberString.VersionNumberString | ( | final String | versionString, |
final java.util.regex.Pattern | versionPattern | ||
) |
See VersionNumber#VersionNumber(String, java.util.regex.Pattern)
.
Definition at line 76 of file VersionNumberString.java.
final String org.jau.util.VersionNumberString.getVersionString | ( | ) |
Returns the version string this version number is derived from.
Definition at line 82 of file VersionNumberString.java.
String org.jau.util.VersionNumberString.toString | ( | ) |
Reimplemented from org.jau.util.VersionNumber.
Definition at line 85 of file VersionNumberString.java.
|
protected |
Definition at line 43 of file VersionNumberString.java.
|
static |
A zero
version instance, w/o any component defined explicitly.
Definition at line 41 of file VersionNumberString.java.