![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java自学
文章平均质量分 52
lengyingxinhappy
大学本科
展开
-
Java Properties
Properties class表示一个属性的持久化集合,Properties能够被保存到stream中,也能从stream中读出Properties, 每个key和与其相应的value都是一个字符串,properties文件是一种配置文件,主要用于表达配置信息,文件类型为*.properties,格式为文本文件,文件的内容是格式是"键=值"的格式,在properties文件中,可以用"#"来作注...原创 2012-03-27 15:40:39 · 143 阅读 · 0 评论 -
java如何查找目录下是否有特定文件
[code="java"]package com.cn.leng;import java.io.File;import java.io.FilenameFilter;public class ListFile { private String filepre;//文件前缀 private String filesux;//文件后缀 public void ...原创 2012-03-31 11:30:49 · 317 阅读 · 0 评论