allensoft.io
Class AndFileFilter

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

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

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


Constructor Summary
AndFileFilter(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

AndFileFilter

public AndFileFilter(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