类 EasyCodeUtils
java.lang.Object
com.easycode8.fastapi.core.util.EasyCodeUtils
-
构造器详细资料
-
EasyCodeUtils
public EasyCodeUtils()
-
-
方法详细资料
-
toCamelCase
驼峰命名法工具- 返回:
- toCamelCase("hello_world") == "helloWorld" toCapitalizeCamelCase("hello_world") == "HelloWorld" toUnderScoreCase("helloWorld") = "hello_world"
-
toCapitalizeCamelCase
驼峰命名法工具- 返回:
- toCamelCase("hello_world") == "helloWorld" toCapitalizeCamelCase("hello_world") == "HelloWorld" toUnderScoreCase("helloWorld") = "hello_world"
-
toUnderScoreCase
驼峰命名法工具- 返回:
- toCamelCase("hello_world") == "helloWorld" toCapitalizeCamelCase("hello_world") == "HelloWorld" toUnderScoreCase("helloWorld") = "hello_world"
-
toUnderscoreName
驼峰转下划线 (暂不建议使用toUnderScoreCase)- 参数:
camelCaseName-- 返回:
-
main
-