Uses of Enum Class
cool.scx.common.util.CaseUtils.CaseType
Packages that use CaseUtils.CaseType
-
Uses of CaseUtils.CaseType in cool.scx.common.util
Methods in cool.scx.common.util that return CaseUtils.CaseTypeModifier and TypeMethodDescriptionstatic CaseUtils.CaseTypeReturns the enum constant of this class with the specified name.static CaseUtils.CaseType[]CaseUtils.CaseType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in cool.scx.common.util with parameters of type CaseUtils.CaseTypeModifier and TypeMethodDescriptionstatic StringCaseUtils.convert(String str, CaseUtils.CaseType to, CaseUtils.CaseType from) 推断原来的命名是啥 并返回切割后的源字符串static StringCaseUtils.toCamel(String str, CaseUtils.CaseType caseType) 转换为驼峰命名法 getNameByAgestatic StringCaseUtils.toKebab(String str, CaseUtils.CaseType caseType) 转换为短横线命名法 get-name-by-agestatic StringCaseUtils.toPascal(String str, CaseUtils.CaseType caseType) 转换为匈牙利命名法 GetNameByAgestatic StringCaseUtils.toSnake(String str, CaseUtils.CaseType caseType) 转换为蛇形命名法 get_name_by_age