|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.dokutransdata.nsd2ltx.Nsd2LtxVersion
public class Nsd2LtxVersion
This class provides Doxygen version comparison support.
| Constructor Summary | |
|---|---|
Nsd2LtxVersion(java.lang.String releaseMajorMinor)
This constructor assumes a canonical Doxygen version string form. |
|
Nsd2LtxVersion(java.lang.String releaseMajorMinor,
int orderOfMagnitude)
This constructor parses each of the version components for subsequent version-version comparison. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object obj)
This method implements the compareTo() method from the Comparable interface. |
boolean |
isCompatible(java.lang.String version)
To check if the given version is compatible with the current version. |
java.lang.String |
toString()
This method provides a standard diagnostic method toString(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Nsd2LtxVersion(java.lang.String releaseMajorMinor,
int orderOfMagnitude)
throws java.lang.NumberFormatException
String v. int collation /
comparison issues at the version string level.
releaseMajorMinor - string obtained from "Doxygen
--version".orderOfMagnitude - or number of components in the
version string.
java.lang.NumberFormatExceptionpublic Nsd2LtxVersion(java.lang.String releaseMajorMinor)
releaseMajorMinor - version string obtained from "Doxygen
--version". The order of magnitude is assumed to be
DEFAULT_MAGNITUDE.| Method Detail |
|---|
public final int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparableobj - instance to be compared against this instance.
int in the following range:
public boolean isCompatible(java.lang.String version)
version - Version against which compatibility is to be checked.
public final 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 | |||||||||