com.jalios.io
Class RegexpFileFilter
java.lang.Object
com.jalios.io.RegexpFileFilter
- All Implemented Interfaces:
- FileFilter
public class RegexpFileFilter
- extends Object
- implements FileFilter
This class implements java.io.FileFilter and uses a regexp to accept files
- Version:
- $Revision: 16478 $
- Author:
- Cecile Lepape, Olivier Dedieu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
RegexpFileFilter
public RegexpFileFilter(String regexp)
throws org.apache.oro.text.regex.MalformedPatternException
- Throws:
org.apache.oro.text.regex.MalformedPatternException
accept
public boolean accept(File pathname)
- Specified by:
accept
in interface FileFilter
Copyright © 2001-2010 Jalios SA. All Rights Reserved.