Package io.ebean.util
Class CamelCaseHelper
- java.lang.Object
-
- io.ebean.util.CamelCaseHelper
-
public class CamelCaseHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description CamelCaseHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
toCamelFromUnderscore(String underscore)
To camel from underscore.static String
toUnderscoreFromCamel(String camelCase)
To underscore from camel case using digits compressed true and force upper case false.static String
toUnderscoreFromCamel(String camelCase, boolean digitsCompressed, boolean forceUpperCase)
Convert and return the string to underscore from camel case.
-
-
-
Constructor Detail
-
CamelCaseHelper
public CamelCaseHelper()
-
-
Method Detail
-
toUnderscoreFromCamel
public static String toUnderscoreFromCamel(String camelCase)
To underscore from camel case using digits compressed true and force upper case false.
-
toUnderscoreFromCamel
public static String toUnderscoreFromCamel(String camelCase, boolean digitsCompressed, boolean forceUpperCase)
Convert and return the string to underscore from camel case.
-
toCamelFromUnderscore
public static String toCamelFromUnderscore(String underscore)
To camel from underscore.- Parameters:
underscore
- the underscore- Returns:
- the string
-
-