摘要: import java.io.File; import java.util.Arrays; import java.util.Comparator; import java.util.Date; public class Log { public static void main(String[] args) { File file = new File("F:\\baby"); File[] fs = file.listFiles(); Arrays.sort(fs, new CompratorByLastModified()); for (int i = 0; i { 阅读全文
posted @ 2014-03-14 15:25 Self_improve 阅读(7089) 评论(1) 推荐(1) 编辑