摘要:
// 从配置文件获取连接数据库的信息 // 通过FileReader 读取配置文件 FileReader fileReader = new FileReader("conf/server.properties"); //创建属性对象 Properties pro = new Properties() 阅读全文
摘要:
public static void main(String[] args) { // TODO Auto-generated method stub File f = new File("D://360压缩"); mothod(f); } public static void mothod(Fil 阅读全文
摘要:
long startTime = System.currentTimeMillis();//返回以毫秒为单位的当前时间 getFile("D://Maven");//获取路径名 long endTime = System.currentTimeMillis(); System.out.println 阅读全文