dk.apaq.vfs.filters
Class AndFilter
java.lang.Object
dk.apaq.vfs.filters.AndFilter
- All Implemented Interfaces:
- NodeFilter, Serializable
public class AndFilter
- extends Object
- implements NodeFilter
- Author:
- mzk
- See Also:
- Serialized Form
|
Method Summary |
boolean |
accept(Node node)
Called to check if the filter accepts the node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AndFilter
public AndFilter(NodeFilter... filters)
accept
public boolean accept(Node node)
- Description copied from interface:
NodeFilter
- Called to check if the filter accepts the node.
- Specified by:
accept in interface NodeFilter
- Parameters:
node - The node to perform the check on.
- Returns:
- True/False wether the filter accepts it or not.
Copyright © 2011. All Rights Reserved.