Interface CaseCoder

All Known Implementing Classes:
CamelCaseCoder, SnakeCaseCoder, UnknownCaseCoder

public interface CaseCoder
A specification of operations that ought to be provided by casing scheme decoders/encoders
  • Method Summary

    Modifier and Type
    Method
    Description
    decode(String text)
    Splits the input text into words
    encode(String[] words)
    Combines the array of words into a single string
  • Method Details

    • decode

      String[] decode(String text)
      Splits the input text into words
      Parameters:
      text - The input text
      Returns:
      An array of individual words
    • encode

      String encode(String[] words)
      Combines the array of words into a single string
      Parameters:
      words - The input array of words
      Returns:
      A string combining the input words