dk.apaq.vfs.filters
Class AndFilter

java.lang.Object
  extended by dk.apaq.vfs.filters.AndFilter
All Implemented Interfaces:
NodeFilter, Serializable

public class AndFilter
extends Object
implements NodeFilter

Author:
mzk
See Also:
Serialized Form

Constructor Summary
AndFilter(NodeFilter... filters)
           
 
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
 

Constructor Detail

AndFilter

public AndFilter(NodeFilter... filters)
Method Detail

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.