net.hblok.io
Class NegateFileFilter

java.lang.Object
  extended by net.hblok.io.NegateFileFilter
All Implemented Interfaces:
FileFilter

public class NegateFileFilter
extends Object
implements FileFilter

Filter which returns the opposite value return by the specified filter's accept method.

Author:
Havard Rast Blok

Constructor Summary
NegateFileFilter(FileFilter filter)
           
 
Method Summary
 boolean accept(File pathname)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NegateFileFilter

public NegateFileFilter(FileFilter filter)
Method Detail

accept

public boolean accept(File pathname)
Specified by:
accept in interface FileFilter

toString

public String toString()
Overrides:
toString in class Object