Interface CaseStyleBuilder

    • Method Detail

      • toCamelCase

        java.lang.String toCamelCase()
        Converts the text as of TextAccessor.getText() to camel-case ("camelCase").
        Returns:
        The camel-case representation of the according key.
      • toPascalCase

        java.lang.String toPascalCase()
        Converts the key as of TextAccessor.getText() to pascal-case ("PascalCase").
        Returns:
        The camel-case representation of the according key.
      • toSnakeCase

        java.lang.String toSnakeCase()
        Converts the key as of TextAccessor.getText() to snake-case, either in upper case as of "SNAKE_CASE" or in lower-case as of "snake_case", depending on the Case property (as of CaseAccessor.CaseMutator.setCase(Case) and CaseAccessor.getCase()).
        Returns:
        The pascal-case representation of the according key.
      • toKebabCase

        java.lang.String toKebabCase()
        Converts the key as of TextAccessor.getText() to kebab-case, either in upper case as of "KEBAB-CASE" or in lower-case as of "kebab-case", depending on the Case property (as of CaseAccessor.CaseMutator.setCase(Case) and CaseAccessor.getCase()).
        Returns:
        The kebab-case representation of the according key.
      • toCamelCase

        java.lang.String toCamelCase​(java.lang.String aKey)
        Converts the provided key as of TextAccessor.getText() to camel-case ("camelCase").
        Parameters:
        aKey - The key to be converted.
        Returns:
        The camel-case representation of the according key.
      • toPascalCase

        java.lang.String toPascalCase​(java.lang.String aKey)
        Converts the provided key as of TextAccessor.getText() to pascal-case ("PascalCase").
        Parameters:
        aKey - The key to be converted.
        Returns:
        The pascal-case representation of the according key.
      • toSnakeCase

        java.lang.String toSnakeCase​(java.lang.String aKey)
        Converts the provided key as of TextAccessor.getText() to snake-case, either in upper case as of "SNAKE_CASE" or in lower-case as of "snake_case", depending on the Case property (as of CaseAccessor.CaseMutator.setCase(Case) and CaseAccessor.getCase()).
        Parameters:
        aKey - The key to be converted.
        Returns:
        The snake-case representation of the according key.
      • toKebabCase

        java.lang.String toKebabCase​(java.lang.String aKey)
        Converts the provided key as of TextAccessor.getText() to kebab-case, either in upper case as of "KEBAB-CASE" or in lower-case as of "kebab-case", depending on the Case property (as of CaseAccessor.CaseMutator.setCase(Case) and CaseAccessor.getCase()).
        Parameters:
        aKey - The key to be converted.
        Returns:
        The kebab-case representation of the according key.