Home | History | Annotate | Download | only in util

Lines Matching refs:files

37      * Our list of files scheduled for deletion.
39 private ArrayList<String> files = new ArrayList<String>();
59 synchronized(files) {
60 if (!files.contains(filename)) {
61 files.add(filename);
67 * Does the actual work. Note we (a) first sort the files lexicographically
68 * and then (b) delete them in reverse order. This is to make sure files
73 Collections.sort(files);
74 for (int i = files.size() - 1; i >= 0; i--) {
75 new File(files.get(i)).delete();