public final class StringUtil extends Object
Modifier | Constructor and Description |
---|---|
private |
StringUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
firstCharToLowerCase(String value)
Changes the first char to lower case.
|
static String |
getPackage(String qualifiedClassName)
Extracts the package name of the full qualified class name.
|
static String |
getQualifiedDtoClassName(String type)
Generates the full qualified class name for a stored procedure class.
|
static String |
getQualifiedMapperClassName(String qualifiedClassName,
String name)
Generates the full qualified class name for a RowMapper class.
|
static String |
getQualifiedStoredProcedureClassName(String spPackage,
String spClassName)
Generates the full qualified class name for a stored procedure class.
|
static String |
getSimpleClassName(String qualifiedClassName)
Extracts the simple class name of the full qualified class name.
|
static TypeInfo |
getTypeInfo(String type)
Create the TypeInfo of a type string.
|
static String |
transformToJavaClassName(String spName)
Transforms the name to a Java class name.
|
public static String firstCharToLowerCase(String value)
value
- the String to be changedpublic static String transformToJavaClassName(String spName)
spName
- the stored procedure namepublic static TypeInfo getTypeInfo(String type)
type
- the type stringpublic static String getSimpleClassName(String qualifiedClassName)
qualifiedClassName
- the full qualified class namepublic static String getPackage(String qualifiedClassName)
qualifiedClassName
- the full qualified class namepublic static String getQualifiedMapperClassName(String qualifiedClassName, String name)
qualifiedClassName
- the full qualified class namename
- the name of the RowMapperpublic static String getQualifiedStoredProcedureClassName(String spPackage, String spClassName)
spPackage
- the package of the stored procedurespClassName
- the class name of the stored procedure class nameCopyright © 2015. All rights reserved.