public class StringUtil extends Object
| 构造器和说明 |
|---|
StringUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getSHA256(String str) |
static String |
joinWithComma(Collection<?> collection)
将集合转换为逗号分隔的字符串
|
static String |
joinWithComma(Object[] array)
将数组转换为逗号分隔的字符串
|
static String |
mapToJson(Map<String,Object> map) |
static String |
toCamelCase(String underscoreName)
下划线转驼峰命名
|
public static String toCamelCase(String underscoreName)
underscoreName - 下划线命名的字符串public static String joinWithComma(Collection<?> collection)
collection - 集合对象Copyright © 2025. All rights reserved.