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

cn.jiangzeyin.controller.multipart.MultipartFileConfig Maven / Gradle / Ivy

There is a newer version: 1.1.11
Show newest version
package cn.jiangzeyin.controller.multipart;

import cn.jiangzeyin.StringUtil;

/**
 * Created by jiangzeyin on 2017/10/25.
 */
public class MultipartFileConfig {
    private static String fileTempPath;

    public static void setFileTempPath(String fileTempPath) {
        MultipartFileConfig.fileTempPath = fileTempPath;
    }

    public static String getFileTempPath() {
        if (StringUtil.isEmpty(fileTempPath))
            throw new IllegalArgumentException("please set  fileTempPath");
        return fileTempPath;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy