|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.asterisk.AsteriskVersion
public class AsteriskVersion
Represents the version of an Asterisk server.
Field Summary | |
---|---|
static AsteriskVersion |
ASTERISK_1_0
Represents the Asterisk 1.0 series. |
static AsteriskVersion |
ASTERISK_1_2
Represents the Asterisk 1.2 series. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
boolean |
isAtLeast(AsteriskVersion o)
Returns true if this version is equal to or higher than
the given version. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final AsteriskVersion ASTERISK_1_0
public static final AsteriskVersion ASTERISK_1_2
Method Detail |
---|
public boolean isAtLeast(AsteriskVersion o)
true
if this version is equal to or higher than
the given version.
o
- the version to compare to
true
if this version is equal to or higher than
the given version.public int compareTo(java.lang.Object 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 |