public final class RecentFilter
extends java.lang.Object
implements java.io.FilenameFilter
Modifier and Type | Field and Description |
---|---|
static boolean |
AFTER
convenience constant so you don't have to remember that false means ask for files before the date.
|
static boolean |
BEFORE
convenience constant so you don't have to remember that true means ask for files before the date.
|
public static final boolean AFTER
public static final boolean BEFORE
public boolean accept(java.io.File dir, java.lang.String name)
accept
in interface java.io.FilenameFilter
dir
- the directory in which the file was found.name
- the name of the filepublic static void main(java.lang.String[] args)
args
- not used