java.lang.Object
io.ebean.util.CamelCaseHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringtoCamelFromUnderscore(String underscore) To camel from underscore.static StringtoUnderscoreFromCamel(String camelCase) To underscore from camel case using digits compressed true and force upper case false.static StringtoUnderscoreFromCamel(String camelCase, boolean digitsCompressed, boolean forceUpperCase) Convert and return the string to underscore from camel case.
-
Constructor Details
-
CamelCaseHelper
public CamelCaseHelper()
-
-
Method Details
-
toUnderscoreFromCamel
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
To camel from underscore.- Parameters:
underscore- the underscore- Returns:
- the string
-