| java.lang.Object com.sun.xml.ws.util.VersionUtil
VersionUtil | final public class VersionUtil (Code) | | Provides some version utilities.
author: JAX-WS Development Team |
JAXWS_VERSION_20 | final public static String JAXWS_VERSION_20(Code) | | |
JAXWS_VERSION_DEFAULT | final public static String JAXWS_VERSION_DEFAULT(Code) | | |
compare | public static int compare(String version1, String version2)(Code) | | Parameters: version1 - Parameters: version2 - -1, 0 or 1 based upon the comparison results-1 if version1 is less than version20 if version1 is equal to version21 if version1 is greater than version2 |
getCanonicalVersion | public static int[] getCanonicalVersion(String version)(Code) | | BugFix# 4948171
Method getCanonicalVersion.
Converts a given version to the format "a.b.c.d"
a - major version
b - minor version
c - minor minor version
d - patch version
int[] Canonical version number |
getValidVersionString | public static String getValidVersionString()(Code) | | |
isValidVersion | public static boolean isValidVersion(String version)(Code) | | Parameters: version - true if version is a 2.0 version |
isVersion20 | public static boolean isVersion20(String version)(Code) | | |
|
|