org.sourcejammer.util
Class FileDateFilter

java.lang.Object
  |
  +--org.sourcejammer.util.FileDateFilter
All Implemented Interfaces:
java.io.FileFilter

public class FileDateFilter
extends java.lang.Object
implements java.io.FileFilter

Title: SourceJammer 1.2 Description: Copyright: Copyright (c) 2002 Company: SourceJammer Project

Version:
1.0
Author:
Robert MacGrogan

Nested Class Summary
private static interface FileDateFilter.Comparator
           
 
Field Summary
private  FileDateFilter.Comparator comp
           
static int FILTER_GREATER_THAN
           
static int FILTER_GREATER_THAN_EQUAL
           
static int FILTER_LESS_THAN
           
static int FILTER_LESS_THAN_EQUAL
           
private  long filterDate
           
private  int filterType
           
 
Constructor Summary
FileDateFilter(java.util.Date filterDate, int filterType)
           
 
Method Summary
 boolean accept(java.io.File pathname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILTER_GREATER_THAN

public static final int FILTER_GREATER_THAN
See Also:
Constant Field Values

FILTER_LESS_THAN

public static final int FILTER_LESS_THAN
See Also:
Constant Field Values

FILTER_GREATER_THAN_EQUAL

public static final int FILTER_GREATER_THAN_EQUAL
See Also:
Constant Field Values

FILTER_LESS_THAN_EQUAL

public static final int FILTER_LESS_THAN_EQUAL
See Also:
Constant Field Values

filterDate

private long filterDate

filterType

private int filterType

comp

private FileDateFilter.Comparator comp
Constructor Detail

FileDateFilter

public FileDateFilter(java.util.Date filterDate,
                      int filterType)
Method Detail

accept

public boolean accept(java.io.File pathname)
Specified by:
accept in interface java.io.FileFilter


Copyright 2003 Soucejammer project.