net.sf.mmm.util.file.base
Class PlainFileFilter
java.lang.Object
net.sf.mmm.util.file.base.PlainFileFilter
- All Implemented Interfaces:
- FileFilter
public final class PlainFileFilter
- extends Object
- implements FileFilter
This class represents a file-filter that only
accepts "plain files". Use
getInstance() to get the instance of this filter.
- Since:
- 1.0.1
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
private static final FileFilter INSTANCE
- the singleton instance
PlainFileFilter
private PlainFileFilter()
- The constructor.
accept
public boolean accept(File file)
-
- Specified by:
accept in interface FileFilter
getInstance
public static FileFilter getInstance()
- This method gets the singleton instance of this file-filter.
- Returns:
- the filter.
Copyright © 2001-2010 mmm-Team. All Rights Reserved.