Package org.springframework.ai.util
Class ParsingUtils
java.lang.Object
org.springframework.ai.util.ParsingUtils
Utility methods for
String
parsing.- Since:
- 1.5
- Author:
- Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
reConcatenateCamelCase
(String source, String delimiter) Reconcatenates the given camel-case sourceString
using the given delimiter.splitCamelCase
(String source) Splits up the given camel-caseString
.splitCamelCaseToLower
(String source) Splits up the given camel-caseString
and 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-caseString
and returns the parts in lower case.- Parameters:
source
- must not be null.- Returns:
-
reConcatenateCamelCase
Reconcatenates the given camel-case sourceString
using the given delimiter. Will split up the camel-caseString
and use an uncapitalized version of the parts.- Parameters:
source
- must not be null.delimiter
- must not be null.- Returns:
-