|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsoaprmi.Version
Allow to detect and check for required version of XSOAP. See bug 42 for more background and motivation for this function.
| Constructor Summary | |
Version()
|
|
| Method Summary | |
static java.lang.String |
getImplementationVersion()
This is just string that is useful to print major verion of XSOAP. |
static java.lang.String |
getSpecificationVersion()
This is just string that identies current implementation verion. |
static int[] |
parseVersion(java.lang.String version)
Parse verion string N.M[.K] into thre subcomponents (M=major,N=minor,K=increment) that are returned in array with three elements. |
static void |
require(java.lang.String version)
Version mut be of form M.N[.K] where M is major version, N is minor version and K is icrement. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Version()
| Method Detail |
public static java.lang.String getSpecificationVersion()
throws IncompatibleVersionException
NOTE:
IncompatibleVersionExceptionpublic static java.lang.String getImplementationVersion()
public static void require(java.lang.String version)
throws IncompatibleVersionException
IncompatibleVersionException
public static int[] parseVersion(java.lang.String version)
throws java.lang.NumberFormatException
java.lang.NumberFormatException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||