Package org.springframework.data.util
Class ParsingUtils
java.lang.Object
org.springframework.data.util.ParsingUtils
Utility methods for
String parsing.- Since:
- 1.5
- Author:
- Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringreconcatenateCamelCase(String source, String delimiter) Reconcatenates the given camel-case sourceStringusing the given delimiter.splitCamelCase(String source) Splits up the given camel-caseString.splitCamelCaseToLower(String source) Splits up the given camel-caseStringand returns the parts in lower case.
-
Method Details
-
splitCamelCase
Splits up the given camel-caseString.- Parameters:
source- must not be null.- Returns:
-
splitCamelCaseToLower
Splits up the given camel-caseStringand returns the parts in lower case.- Parameters:
source- must not be null.- Returns:
-
reconcatenateCamelCase
Reconcatenates the given camel-case sourceStringusing the given delimiter. Will split up the camel-caseStringand use an uncapitalized version of the parts.- Parameters:
source- must not be null.delimiter- must not be null.- Returns:
-