|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjnlp.sample.util.VersionID
public class VersionID
VersionID contains a JNLP version ID. The VersionID also contains a prefix indicator that can be used when stored with a VersionString
Constructor Summary | |
---|---|
VersionID(String str)
Creates a VersionID object |
Method Summary | |
---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object o)
Compares if two version IDs are equal |
boolean |
isGreaterThan(VersionID vid)
|
boolean |
isGreaterThanOrEqual(VersionID vid)
|
boolean |
isPrefixMatch(VersionID vid)
Checks if 'this' is a prefix of vid |
boolean |
isSimpleVersion()
Returns true if no flags are set |
boolean |
match(VersionID vid)
Match 'this' versionID against vid. |
String |
toString()
Show it as a string |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VersionID(String str)
Method Detail |
---|
public boolean isSimpleVersion()
public boolean match(VersionID vid)
public boolean equals(Object o)
equals
in class Object
public boolean isGreaterThan(VersionID vid)
public boolean isGreaterThanOrEqual(VersionID vid)
public boolean isPrefixMatch(VersionID vid)
public int compareTo(Object o)
compareTo
in interface Comparable
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |