FileFilterOr Class

com.bea.ide.filesystem
FileFilterOr Class

public class FileFilterOr

    extends Object
    implements IFileFilter

Evaluates two IFileFilters together with an OR operation. Either filters' accept method can to return true in order for this filter to return true.


Hierarchy
Object
  FileFilterOr
All Implemented Interfaces

IFileFilter

Constructor Summary

FileFilterOr(IFileFilter one, IFileFilter two)

 

Method Summary

public boolean
accept(IFile file)
This method should return true if the passed-in file is accepted by the filter and false if the file should be filtered out.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.bea.ide.filesystem.IFileFilter
accept
 

Constructor Detail

FileFilterOr

public FileFilterOr(IFileFilter one, 
                    IFileFilter two)
 

Method Detail

accept(IFile) Method

public boolean accept(IFile file)
Description copied from IFileFilter.accept(IFile)
This method should return true if the passed-in file is accepted by the filter and false if the file should be filtered out.