| java.lang.Object org.apache.james.nntpserver.DateSinceFileFilter
DateSinceFileFilter | public class DateSinceFileFilter implements FilenameFilter(Code) | | Filters files according to their last modified date
|
Constructor Summary | |
public | DateSinceFileFilter(long date) Creates a new FileFilter that returns all Files that
have been modified since the date specified. |
Method Summary | |
public boolean | accept(File dir, String name) Tests if a specified file has been modified since a
specified date. |
DateSinceFileFilter | public DateSinceFileFilter(long date)(Code) | | Creates a new FileFilter that returns all Files that
have been modified since the date specified.
Parameters: date - the date that serves as the lower bound of the region of interest |
accept | public boolean accept(File dir, String name)(Code) | | Tests if a specified file has been modified since a
specified date.
Parameters: dir - the directory in which the file was found Parameters: name - the name of the file true if the file meets the criteria, false otherwise |
|
|