allensoft.io
Class ExistsFileFilter

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

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

A file filter which will only accept files that exist which are also accepted by another filter.


Constructor Summary
ExistsFileFilter(java.io.FileFilter filter)
           
 
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

ExistsFileFilter

public ExistsFileFilter(java.io.FileFilter filter)
Method Detail

accept

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