![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java-IO
D丶码农
软件码农
展开
-
Properties读取配置文件
static Properties webProper = new Properties(); static InputStream is; public sendTelMsg(){ //从配置文件中获取默认域名 if (is==null) { is=sendTelMsg.class.getClass().getResourceAsStream("/配置文件名称.properti原创 2016-04-25 17:28:12 · 236 阅读 · 0 评论 -
java IO 问题分析
Java中提供看IO类库,可以轻松的用java实现对文件的操作 一、创建文件目录 String path="f:/javaIO/"; path=path.toString();//中文转换 File file=new File(path); if(!file.exists()) //exists()用于判断文件夹是否存在 file.原创 2016-04-05 16:47:40 · 207 阅读 · 0 评论