from Esslingen, Germany...

We are programmers from Esslingen and we are sharing our experience with:
April 15, 2015

Convert Strings from hyphen-notation to camel case (Java / Guava)

There are many ways how to sperate words in a String for us programmers. One of the most popular are seperation by “hyphens” and using the CamelCase Notation. The library¬†Guava from Google provides excellent help for converting a string from one format to the other Hyphen Format

 Camel Case Format (Wikipedia)

Conversion in Java (using Google Guava) The class CaseFormat provides useful helpers to convert Strings from hyphen
Read more…

No Comments

Jan Blankenhorn

Entwickler bei thecodecampus