|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfable.utility.strategy.DateFilter
public class DateFilter
DateFilter is a FilterStrategy that will only accept articles written between certain dates
Constructor Summary | |
---|---|
DateFilter(java.util.Date startDate,
java.util.Date endDate)
Creates a new DateFilter. |
Method Summary | |
---|---|
boolean |
isOk(FableComponent t)
Determines if the FableComponent should be allowed in the filter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateFilter(java.util.Date startDate, java.util.Date endDate)
startDate
- start dateendDate
- end dateMethod Detail |
---|
public boolean isOk(FableComponent t)
FilterStrategy
isOk
in interface FilterStrategy
t
- FableComponent to check
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |