Class ParsingUtils

java.lang.Object
org.springframework.data.util.ParsingUtils

public abstract class ParsingUtils extends Object
Utility methods for String parsing.
Since:
1.5
Author:
Oliver Gierke
  • Method Details

    • splitCamelCase

      public static List<String> splitCamelCase(String source)
      Splits up the given camel-case String.
      Parameters:
      source - must not be null.
      Returns:
    • splitCamelCaseToLower

      public static List<String> splitCamelCaseToLower(String source)
      Splits up the given camel-case String and returns the parts in lower case.
      Parameters:
      source - must not be null.
      Returns:
    • reconcatenateCamelCase

      public static String reconcatenateCamelCase(String source, String delimiter)
      Reconcatenates the given camel-case source String using the given delimiter. Will split up the camel-case String and use an uncapitalized version of the parts.
      Parameters:
      source - must not be null.
      delimiter - must not be null.
      Returns: