标签:guava caseformat
转自官网中的格式与举例。
Format | Example |
LOWER_CAMEL | lowerCamel |
LOWER_HYPHEN | lower-hyphen |
LOWER_UNDERSCORE | lower_underscore |
UPPER_CAMEL | UpperCamel |
UPPER_UNDERSCORE | UPPER_UNDERSCORE |
常用方法public final String to(CaseFormat format,String str)。将str转换成format格式。
guava中String的CaseFormat,布布扣,bubuko.com
标签:guava caseformat
原文地址:http://blog.csdn.net/qunzer/article/details/25420015