net.sf.mmm.util.file.base
Class FileFilterAdapter
java.lang.Object
net.sf.mmm.util.file.base.FileFilterAdapter
- All Implemented Interfaces:
- FileFilter
public final class FileFilterAdapter
- extends Object
- implements FileFilter
This class implements the FileFilter interface by simply delegating
to a Filter<File>.
- Since:
- 1.0.2
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
- See Also:
FileStringFilterAdapter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filter
private final Filter<File> filter
- See Also:
accept(File)
FileFilterAdapter
public FileFilterAdapter(Filter<File> filter)
- The constructor.
- Parameters:
filter - is the filter to adapt.
accept
public boolean accept(File file)
-
- Specified by:
accept in interface FileFilter
Copyright © 2001-2010 mmm-Team. All Rights Reserved.