![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
file
奋斗小牛
这个作者很懒,什么都没留下…
展开
-
ServletContextFactory.getServletContext().getRealPath("/")的作用
/** * 属性文件加载对象 */ private static PropertiesLoader loader = new PropertiesLoader(“j.properties”);String path= loader.getProperty(“name”);if(path==null){/** *getRealPath(“/”) 获取实际路径,项目原创 2017-09-13 15:45:22 · 2573 阅读 · 0 评论 -
file文件操作工具类
package com.common.utils;import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.IOException;import java.io.InputStream;import java.io.OutputStream;i...原创 2018-12-12 11:24:04 · 230 阅读 · 1 评论