public abstract class CaseFormats extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CaseFormats.LowerCamelCase |
static class |
CaseFormats.LowerHyphenCase |
static class |
CaseFormats.UpperCamelCase |
static class |
CaseFormats.UpperHyphenCase |
| 限定符和类型 | 字段和说明 |
|---|---|
static char |
HYPHEN_CHAR |
static CaseFormat |
LOWER_CAMEL |
static CaseFormat |
LOWER_HYPHEN |
static CaseFormat |
LOWER_UNDERSCORE |
static char |
UNDERSCORE_CHAR |
static CaseFormat |
UPPER_CAMEL |
static CaseFormat |
UPPER_HYPHEN |
static CaseFormat |
UPPER_UNDERSCORE |
| 构造器和说明 |
|---|
CaseFormats() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
isWellFormatedNaming(CharSequence varName,
String[] excludedKeywords) |
static boolean |
isWellFormatedStartWith(char firstChar) |
static void |
main(String[] args) |
public static final char UNDERSCORE_CHAR
public static final char HYPHEN_CHAR
public static final CaseFormat LOWER_HYPHEN
public static final CaseFormat UPPER_HYPHEN
public static final CaseFormat LOWER_UNDERSCORE
public static final CaseFormat UPPER_UNDERSCORE
public static final CaseFormat LOWER_CAMEL
public static final CaseFormat UPPER_CAMEL
public static boolean isWellFormatedStartWith(char firstChar)
public static boolean isWellFormatedNaming(CharSequence varName, String[] excludedKeywords)
public static void main(String[] args)
Copyright © 2022. All rights reserved.