|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.oscg.jreleaseinfo.JReleaseInfoUtil
Utility class for JReleaseInfoAntTask task. All methods are defined static so they can be called without creating an instance.
Constructor Summary | |
JReleaseInfoUtil()
|
Method Summary | |
static boolean |
checkIsBoolean(java.lang.String val)
Utility method to check if a String value is a valid boolean value. |
static java.lang.String |
getPathElement(java.lang.String pathElement)
Utility method to append slash to pathelement. |
static boolean |
isValidClassNameString(java.lang.String name)
Utility method to check the validity of string for a class name. |
static boolean |
isValidNameString(java.lang.String name)
Utility method to check the validity of string for name. |
static boolean |
isValidPackageNameString(java.lang.String name)
Utility method to check the validity of string for a package name. |
static java.lang.String |
lowerCaseFirstLetter(java.lang.String str)
Utility method to change the first letter of a string to lowercase. |
static java.lang.String |
upperCaseFirstLetter(java.lang.String str)
Utility method to change the first letter of a string to uppercase. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JReleaseInfoUtil()
Method Detail |
public static java.lang.String getPathElement(java.lang.String pathElement)
pathElement
- which should be checked
public static java.lang.String upperCaseFirstLetter(java.lang.String str)
str
- String to process
public static java.lang.String lowerCaseFirstLetter(java.lang.String str)
str
- String to process
public static boolean checkIsBoolean(java.lang.String val)
val
- String value expressing a boolean
public static boolean isValidNameString(java.lang.String name)
name
- String to check
public static boolean isValidClassNameString(java.lang.String name)
name
- String to check
public static boolean isValidPackageNameString(java.lang.String name)
name
- String to check (empty string is allowed)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |