-
Constructor Summary
Constructors
-
Method Summary
Splits the input text into words
Combines the array of words into a single string
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CamelCaseCoder
public CamelCaseCoder()
-
Method Details
-
decode
Splits the input text into words
- Specified by:
decode in interface CaseCoder
- Parameters:
text - The input text
- Returns:
- An array of individual words
-
encode
Combines the array of words into a single string
- Specified by:
encode in interface CaseCoder
- Parameters:
words - The input array of words
- Returns:
- A string combining the input words