org.juniverse.jorganizer.todos
Class ToDoFilenameFilter

java.lang.Object
  |
  +--org.juniverse.jorganizer.todos.ToDoFilenameFilter
All Implemented Interfaces:
java.io.FilenameFilter

public class ToDoFilenameFilter
extends java.lang.Object
implements java.io.FilenameFilter

Author:
alexander ilg

Field Summary
private  java.util.Date date
           
static int DATE
           
private  int filter
           
private  int userid
           
static int USERID
           
 
Constructor Summary
ToDoFilenameFilter()
           
 
Method Summary
 boolean accept(java.io.File dir, java.lang.String filename)
           
 void setDate(java.util.Date date)
          Sets the date.
 void setFilter(int filterid)
           
 void setUserid(int userid)
          Sets the userid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filter

private int filter

userid

private int userid

date

private java.util.Date date

USERID

public static final int USERID
See Also:
Constant Field Values

DATE

public static final int DATE
See Also:
Constant Field Values
Constructor Detail

ToDoFilenameFilter

public ToDoFilenameFilter()
Method Detail

accept

public boolean accept(java.io.File dir,
                      java.lang.String filename)
Specified by:
accept in interface java.io.FilenameFilter
See Also:
FilenameFilter.accept(File, String)

setFilter

public void setFilter(int filterid)

setDate

public void setDate(java.util.Date date)
Sets the date.

Parameters:
date - The date to set

setUserid

public void setUserid(int userid)
Sets the userid.

Parameters:
userid - The userid to set