|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.jutil.predicate.AbstractPredicate
|
+--org.jutil.io.fileset.FilePredicate
A class of predicate meant to check properties of files.
All FilePredicates will return false if the argument passed to
eval() is not a
File.
| Fields inherited from interface org.jutil.predicate.Predicate |
CVS_REVISION |
| Constructor Summary | |
FilePredicate()
|
|
| Method Summary | |
boolean |
eval(java.lang.Object object)
Evaluate this Predicate for the given object. |
abstract boolean |
evalFile(java.io.File file)
Evaluate this FilePredicate for the given file |
| Methods inherited from class org.jutil.predicate.AbstractPredicate |
count, equals, exists, filter, forall, nbSubPredicates |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jutil.predicate.Predicate |
getSubPredicates |
| Methods inherited from interface org.jutil.java.collections.CollectionOperator |
isValidElement |
| Constructor Detail |
public FilePredicate()
| Method Detail |
public boolean eval(java.lang.Object object)
throws java.lang.Exception
Predicate
public abstract boolean evalFile(java.io.File file)
throws java.lang.Exception
file - The file to evaluate this FilePredicate with
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||