com.jalios.io
Class RegexpFileFilter

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

Field Summary
static String REVISION
           
 
Constructor Summary
RegexpFileFilter(String regexp)
           
 
Method Summary
 boolean accept(File pathname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

RegexpFileFilter

public RegexpFileFilter(String regexp)
                 throws org.apache.oro.text.regex.MalformedPatternException
Throws:
org.apache.oro.text.regex.MalformedPatternException
Method Detail

accept

public boolean accept(File pathname)
Specified by:
accept in interface FileFilter


Copyright © 2001-2010 Jalios SA. All Rights Reserved.