org.apache.james.util.io
Class InvertedFileFilter
java.lang.Object
org.apache.james.util.io.InvertedFileFilter
- All Implemented Interfaces:
- FilenameFilter
- public class InvertedFileFilter
- extends Object
- implements FilenameFilter
This takes a FilenameFilter as input and inverts the selection.
This is used in retrieving files that are not accepted by a filter.
- Since:
- 4.0
- Version:
- CVS $Revision: 365582 $ $Date: 2006-01-03 03:51:21 -0500 (Tue, 03 Jan 2006) $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvertedFileFilter
public InvertedFileFilter(FilenameFilter originalFilter)
accept
public boolean accept(File file,
String name)
- Specified by:
accept
in interface FilenameFilter
"Copyright © 1999-2006 Apache Jakarta Project. All Rights Reserved."