All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fastchar.interfaces.IFastFileRename Maven / Gradle / Ivy

There is a newer version: 2.2.2
Show newest version
package com.fastchar.interfaces;

import com.fastchar.annotation.AFastPriority;
import com.fastchar.core.FastConstant;

import java.io.File;

/**
 * 文件重命名接口
 */
@AFastPriority
public interface IFastFileRename {
    /**
     * 重命名文件,并返回新的文件名
     * @param target 目标文件
     * @param md5Name 是否md5加密
     * @return 新的文件
     */
    File rename(File target, boolean md5Name);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy