mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix comment
This commit is contained in:
parent
854f3dcce6
commit
c7d2d389f0
@ -572,8 +572,8 @@ public class PathUtil {
|
||||
*
|
||||
* @param file 文件
|
||||
* @return MimeType
|
||||
* @since 5.5.5
|
||||
* @see Files#probeContentType(Path)
|
||||
* @since 5.5.5
|
||||
*/
|
||||
public static String getMimeType(Path file) {
|
||||
try {
|
||||
@ -616,7 +616,7 @@ public class PathUtil {
|
||||
* 删除文件,不追踪软链
|
||||
*
|
||||
* @param path 文件对象
|
||||
* @throws IORuntimeException IO异常
|
||||
* @throws IOException IO异常
|
||||
* @since 5.7.7
|
||||
*/
|
||||
protected static void delFile(Path path) throws IOException {
|
||||
|
@ -30,6 +30,7 @@ public class MoveVisitor extends SimpleFileVisitor<Path> {
|
||||
*
|
||||
* @param source 源Path
|
||||
* @param target 目标Path
|
||||
* @param copyOptions 拷贝(移动)选项
|
||||
*/
|
||||
public MoveVisitor(Path source, Path target, CopyOption... copyOptions) {
|
||||
if(PathUtil.exists(target, false) && false == PathUtil.isDirectory(target)){
|
||||
|
@ -201,6 +201,7 @@ public class MethodHandleUtil {
|
||||
* </pre>
|
||||
*
|
||||
* @param <T> 返回结果类型
|
||||
* @param isSpecial 是否为特殊方法(private、static等)
|
||||
* @param obj 接口的子对象或代理对象
|
||||
* @param method 方法
|
||||
* @param args 参数
|
||||
|
Loading…
x
Reference in New Issue
Block a user