Uses of Class
com.google.common.base.CaseFormat
-
Packages that use CaseFormat Package Description com.google.common.base Basic utility libraries and interfaces. -
-
Uses of CaseFormat in com.google.common.base
Fields in com.google.common.base declared as CaseFormat Modifier and Type Field Description private CaseFormat
CaseFormat.StringConverter. sourceFormat
private CaseFormat
CaseFormat.StringConverter. targetFormat
Methods in com.google.common.base that return CaseFormat Modifier and Type Method Description static CaseFormat
CaseFormat. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CaseFormat[]
CaseFormat. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.google.common.base with parameters of type CaseFormat Modifier and Type Method Description (package private) java.lang.String
CaseFormat. convert(CaseFormat format, java.lang.String s)
Enum values can override for performance reasons.Converter<java.lang.String,java.lang.String>
CaseFormat. converterTo(CaseFormat targetFormat)
Returns aConverter
that converts strings from this format totargetFormat
.java.lang.String
CaseFormat. to(CaseFormat format, java.lang.String str)
Converts the specifiedString str
from this format to the specifiedformat
.Constructors in com.google.common.base with parameters of type CaseFormat Constructor Description StringConverter(CaseFormat sourceFormat, CaseFormat targetFormat)
-