Lines Matching defs:version
6 * under the terms of the GNU General Public License version 2 only, as
14 * version 2 for more details (a copy is included in the LICENSE file that
17 * You should have received a copy of the GNU General Public License version
32 * Provides some version utilities.
39 public static boolean isVersion20(String version) {
40 return JAXWS_VERSION_20.equals(version);
44 * @param version
45 * @return true if version is a 2.0 version
47 public static boolean isValidVersion(String version) {
48 return isVersion20(version);
59 * Converts a given version to the format "a.b.c.d"
60 * a - major version
61 * b - minor version
62 * c - minor minor version
63 * d - patch version
65 * @return int[] Canonical version number
67 public static int[] getCanonicalVersion(String version) {
70 // initialize the default version numbers
80 new StringTokenizer(version, DOT_DELIM);
83 // first token is major version and must not have "_"
86 // resolve the minor version
101 // resolve the minorMinor and patch version, if any
166 // the latest version is default