2013年5月31日

遍历指定路径下的所有java文件

摘要: private static List<String> filePathList = new ArrayList<String>(); public static List<String> getFilePath(String dir) { // 如果dir不以文件分隔符结尾,自动添加文件分隔符 if (!dir.endsWith(File.separator)) { dir = dir + File.separator; } File dirFile = new File(dir); ... 阅读全文
posted @ 2013-05-31 10:04 Pisces011 阅读(214) 评论(0) 推荐(0) 编辑

每日一句

摘要: The difference in winning and losing is most often not quitting.赢与输的差别通常是不放弃。A good book is a best friend who never turns his back upon us.一本好书,莫逆之交。Rather than spending one's days grumbling about life,act to bring about change without delay. 与其每天抱怨生活,不如立刻行动改变现状。If youth is a defect,it is one th 阅读全文
posted @ 2013-05-31 09:54 Pisces011 阅读(245) 评论(0) 推荐(0) 编辑