com.metamatrix.common.tree
Class PassThroughTreeNodeFilter

java.lang.Object
  extended by com.metamatrix.common.tree.PassThroughTreeNodeFilter
All Implemented Interfaces:
TreeNodeFilter
Direct Known Subclasses:
PassThroughDirectoryEntryFilter

public class PassThroughTreeNodeFilter
extends java.lang.Object
implements TreeNodeFilter


Constructor Summary
PassThroughTreeNodeFilter()
           
 
Method Summary
 boolean accept(TreeNode entry)
          Determine whether the given TreeNode is accepted by this filter.
 java.lang.String getDescription()
          Obtain a description for this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassThroughTreeNodeFilter

public PassThroughTreeNodeFilter()
Method Detail

getDescription

public java.lang.String getDescription()
Obtain a description for this filter.

Specified by:
getDescription in interface TreeNodeFilter
Returns:
the readable description. For example: "JPG and GIF Images"

accept

public boolean accept(TreeNode entry)
Determine whether the given TreeNode is accepted by this filter.

Specified by:
accept in interface TreeNodeFilter
Returns:
true if accepted, or false otherwise.


Copyright © 2009. All Rights Reserved.