2016年7月10日
摘要: I/O系统 输入流InputStream File file = new File("E:\\ello"); //找到指定文件 if(file.exists()){//文件是否存在 System.out.println("存在"); }else{ System.out.println("不存在"); 阅读全文
posted @ 2016-07-10 21:30 CZLiang 阅读(236) 评论(0) 推荐(0)
摘要: 正则表达式 所谓正则表达式,是根据一组字符串中每个字符串所共有的特征,使用特定的符号来描述该组字符串的一种方法。 ^ 匹配输入字符串的开始位置 $ 匹配输入字符串的结束位置 * 匹配前面表达式零次或多次 + 匹配前面表达式一次或多次 ?匹配前面表达式零次或一次 {n} 匹配某字符n次 a{3}匹配a 阅读全文
posted @ 2016-07-10 20:27 CZLiang 阅读(309) 评论(0) 推荐(0)