com.sun.rave.web.ui.util
Class FilterUtil

java.lang.Object
  extended by com.sun.rave.web.ui.util.FilterUtil
All Implemented Interfaces:
java.io.FileFilter

public class FilterUtil
extends java.lang.Object
implements java.io.FileFilter

A utility class that checks if a file or folder should be displayed based on the filter entered by the user.


Constructor Summary
FilterUtil()
           
FilterUtil(java.lang.String filterString)
           
 
Method Summary
 boolean accept(java.io.File f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterUtil

public FilterUtil()

FilterUtil

public FilterUtil(java.lang.String filterString)
Method Detail

accept

public boolean accept(java.io.File f)
Specified by:
accept in interface java.io.FileFilter