mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
!1148 hutool6.x StrUtil增加拆分注释
* hutoolv6 对StrUtil拆分的类,进行注释,达到代码自说明的目的,减少咨询量。
This commit is contained in:
parent
c60f30361e
commit
5345e4cc61
@ -33,6 +33,7 @@ import org.dromara.hutool.core.util.ObjUtil;
|
||||
|
||||
import java.io.*;
|
||||
import java.nio.charset.Charset;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.FileSystem;
|
||||
import java.nio.file.*;
|
||||
import java.util.ArrayList;
|
||||
@ -726,7 +727,7 @@ public class ZipUtil {
|
||||
* Gzip压缩处理
|
||||
*
|
||||
* @param content 被压缩的字符串
|
||||
* @param charset 编码
|
||||
* @param charset 编码 {@link StandardCharsets#UTF_8}、 {@link CharsetUtil#UTF_8}
|
||||
* @return 压缩后的字节流
|
||||
* @throws HutoolException IO异常
|
||||
*/
|
||||
|
@ -15,6 +15,7 @@ package org.dromara.hutool.core.text;
|
||||
import org.dromara.hutool.core.array.ArrayUtil;
|
||||
import org.dromara.hutool.core.func.FunctionPool;
|
||||
import org.dromara.hutool.core.text.placeholder.StrFormatter;
|
||||
import org.dromara.hutool.core.text.split.SplitUtil;
|
||||
import org.dromara.hutool.core.util.CharsetUtil;
|
||||
|
||||
import java.io.StringReader;
|
||||
@ -27,6 +28,13 @@ import java.util.Map;
|
||||
* 字符串工具类<br>
|
||||
* 此工具主要针对单个字符串的操作
|
||||
*
|
||||
* <p>本工具类,v6.x进行了拆分。
|
||||
* 字符串分割<strong>split</strong>参考:{@link SplitUtil} <br>
|
||||
* 多字符串判空<strong>hasBlank</strong>参考:{@link ArrayUtil}
|
||||
* </p>
|
||||
* @see SplitUtil#split(CharSequence, CharSequence) 对字符串分割
|
||||
* @see ArrayUtil#hasBlank(CharSequence...) 对多个字符串判空
|
||||
*
|
||||
* @author Looly
|
||||
*/
|
||||
public class StrUtil extends CharSequenceUtil implements StrPool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user