Package org.hibernate.jpamodelgen.util
Class StringUtil
- java.lang.Object
-
- org.hibernate.jpamodelgen.util.StringUtil
-
public final class StringUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
classNameFromFqcn(java.lang.String fqcn)
static java.lang.String
decapitalize(java.lang.String string)
static java.lang.String
determineFullyQualifiedClassName(java.lang.String defaultPackage, java.lang.String name)
static java.lang.String
getPropertyName(java.lang.String name)
static java.lang.String
getUpperUnderscoreCaseFromLowerCamelCase(java.lang.String lowerCamelCaseString)
static boolean
isFullyQualified(java.lang.String name)
static boolean
isProperty(java.lang.String methodName, java.lang.String returnTypeAsString)
static java.lang.String
packageNameFromFqcn(java.lang.String fqcn)
-
-
-
Method Detail
-
determineFullyQualifiedClassName
public static java.lang.String determineFullyQualifiedClassName(java.lang.String defaultPackage, java.lang.String name)
-
isFullyQualified
public static boolean isFullyQualified(java.lang.String name)
-
packageNameFromFqcn
public static java.lang.String packageNameFromFqcn(java.lang.String fqcn)
-
classNameFromFqcn
public static java.lang.String classNameFromFqcn(java.lang.String fqcn)
-
isProperty
public static boolean isProperty(java.lang.String methodName, java.lang.String returnTypeAsString)
-
getPropertyName
public static java.lang.String getPropertyName(java.lang.String name)
-
decapitalize
public static java.lang.String decapitalize(java.lang.String string)
-
getUpperUnderscoreCaseFromLowerCamelCase
public static java.lang.String getUpperUnderscoreCaseFromLowerCamelCase(java.lang.String lowerCamelCaseString)
-
-