com.metamatrix.common.tree
Interface TreeNodeFilter

All Known Subinterfaces:
DirectoryEntryFilter
All Known Implementing Classes:
FileSystemFilter, FolderOnlyFilter, PassThroughDirectoryEntryFilter, PassThroughTreeNodeFilter

public interface TreeNodeFilter


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.
 

Method Detail

getDescription

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

Returns:
the readable description. For example: "JPG and GIF Images"

accept

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

Returns:
true if accepted, or false otherwise.


Copyright © 2009. All Rights Reserved.