|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfable.utility.strategy.AuthorFilter
public class AuthorFilter
AuthorFilter is a filter that returns only articles that have (or are not written by) a particular author
| Constructor Summary | |
|---|---|
AuthorFilter(java.lang.String author,
boolean accept)
Creates a new case-insensitive AuthorFilter |
|
| 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 AuthorFilter(java.lang.String author,
boolean accept)
author - The Authoraccept - true if we should only allow articles by this author, false if we should allow all articles EXCEPT by this author| Method Detail |
|---|
public boolean isOk(FableComponent t)
FilterStrategy
isOk in interface FilterStrategyt - FableComponent to check
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||