This commit is contained in:
Looly
2020-04-07 11:19:46 +08:00
parent cf5ff51a56
commit d8baf83474
11 changed files with 124 additions and 100 deletions

View File

@@ -2385,8 +2385,12 @@ public class StrUtil {
}
/**
* 将对象转为字符串<br>
* 1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
* 将对象转为字符串
*
* <pre>
* 1、Byte数组和ByteBuffer会被转换为对应字符串的数组
* 2、对象数组会调用Arrays.toString方法
* <pre/>
*
* @param obj 对象
* @param charsetName 字符集
@@ -2397,8 +2401,11 @@ public class StrUtil {
}
/**
* 将对象转为字符串<br>
* 1、Byte数组和ByteBuffer会被转换为对应字符串的数组 2、对象数组会调用Arrays.toString方法
* 将对象转为字符串
* <pre>
* 1、Byte数组和ByteBuffer会被转换为对应字符串的数组
* 2、对象数组会调用Arrays.toString方法
* <pre/>
*
* @param obj 对象
* @param charset 字符集