Searched defs:cutoff (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Email/emailcommon/src/org/apache/commons/io/filefilter/
H A DAgeFileFilter.java26 * Filters files based on a cutoff time, can filter either newer
35 * long cutoff = System.currentTimeMillis() - (24 * 60 * 60 * 1000);
36 * String[] files = dir.list( new AgeFileFilter(cutoff) );
48 /** The cutoff time threshold. */
49 private final long cutoff; field in class:AgeFileFilter
55 * a certain cutoff
57 * @param cutoff the threshold age of the files
59 public AgeFileFilter(long cutoff) { argument
60 this(cutoff, true);
65 * of a certain cutoff
71 AgeFileFilter(long cutoff, boolean acceptOlder) argument
[all...]
H A DFileFilterUtils.java172 * the specified cutoff time.
174 * @param cutoff the time threshold
178 public static IOFileFilter ageFileFilter(long cutoff) { argument
179 return new AgeFileFilter(cutoff);
183 * Returns a filter that filters files based on a cutoff time.
185 * @param cutoff the time threshold
190 public static IOFileFilter ageFileFilter(long cutoff, boolean acceptOlder) { argument
191 return new AgeFileFilter(cutoff, acceptOlder);
196 * the specified cutoff date.
207 * Returns a filter that filters files based on a cutoff dat
[all...]

Completed in 4 milliseconds