CaseFormat1 [JAVA] Case Format ๋ณ๊ฒฝ (UPPER_CAMEL, LOWER_HYPEN...) google guava ์ฌ์ฉ google CaseFormat import import com.google.common.base.CaseFormat; ์ํ๋ ํฌ๋งท์ผ๋ก ๋ณ๊ฒฝ String upperCamelVndr = CaseFormat.LOWER_HYPHEN.to(CaseFormat.UPPER_CAMEL, "text_test"); //TextTest ํฌ๋งท ์ข ๋ฅ //CaseFormat enum ๊ฐ๋ณด๋ฉด ์์ธํ๊ฒ ํ์ธ ๊ฐ๋ฅ LOWER_HYPHEN(CharMatcher.is('-'), "-") { String normalizeWord(String word) { return Ascii.toLowerCase(word); } String convert(CaseFormat format, String s) { if (for.. 2022. 3. 22. ์ด์ 1 ๋ค์