public class WSToolingUtils extends Object
Constructor and Description |
---|
WSToolingUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getWsGenVersion()
Retrieves the major version number of the WsGen class that we're using
|
static boolean |
hasValue(String str)
A handy function to check for empty or null string
|
static boolean |
isValidVersion(String wsGenVersion)
Answer if the input version number is 2.1.6 or later.
|
public static boolean hasValue(String str)
str
- public static String getWsGenVersion() throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
public static boolean isValidVersion(String wsGenVersion)
wsGenVersion
- A version number separated by "." Up to the first 3 values will be checked.Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.