|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.util.VersionParser
public class VersionParser
This class can parse an XNap version string.
Constructor Summary | |
---|---|
VersionParser(java.lang.String version)
Constructs a new version parser that parses version . |
Method Summary | |
---|---|
static int |
compare(java.lang.String v1,
java.lang.String v2)
Compares version v1 with version v2 . |
int |
compareTo(java.lang.Object o)
Compares this VersionParser to o . |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VersionParser(java.lang.String version)
version
.
Method Detail |
---|
public static int compare(java.lang.String v1, java.lang.String v2)
v1
with version v2
.
compareTo(Object)
public int compareTo(java.lang.Object o)
o
.
compareTo
in interface java.lang.Comparable
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |