net.sf.mmm.util.file.base
Class FileFilterAdapter

java.lang.Object
  extended by 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

Field Summary
private  Filter<File> filter
           
 
Constructor Summary
FileFilterAdapter(Filter<File> filter)
          The constructor.
 
Method Summary
 boolean accept(File file)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filter

private final Filter<File> filter
See Also:
accept(File)
Constructor Detail

FileFilterAdapter

public FileFilterAdapter(Filter<File> filter)
The constructor.

Parameters:
filter - is the filter to adapt.
Method Detail

accept

public boolean accept(File file)

Specified by:
accept in interface FileFilter


Copyright © 2001-2010 mmm-Team. All Rights Reserved.