allensoft.io
Class OrFileFilter

java.lang.Object
  |
  +--allensoft.io.OrFileFilter
All Implemented Interfaces:
java.io.FileFilter

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

A file filter that accpets files that are accepted by two file filters.


Constructor Summary
OrFileFilter(java.io.FileFilter filter1, java.io.FileFilter filter2)
           
 
Method Summary
 boolean accept(java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrFileFilter

public OrFileFilter(java.io.FileFilter filter1,
                    java.io.FileFilter filter2)
Method Detail

accept

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