org.wamblee.io
Class RegexFilenameFilter
java.lang.Object
org.wamblee.io.RegexFilenameFilter
- All Implemented Interfaces:
- FileFilter
public class RegexFilenameFilter
- extends Object
- implements FileFilter
Filename filter based on regular expressions.
- Author:
- Erik Brakkee
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexFilenameFilter
public RegexFilenameFilter(String aRegex)
- Constructs the filter.
- Parameters:
aRegex - Regular expression to filter on.
accept
public boolean accept(File aPathname)
- Specified by:
accept in interface FileFilter
Copyright © 2011. All Rights Reserved.