org.cip4.jdflib.util
Class FileUtil.ExpressionFileFilter

java.lang.Object
  extended by org.cip4.jdflib.util.FileUtil.ExpressionFileFilter
All Implemented Interfaces:
FileFilter
Enclosing class:
FileUtil

protected static class FileUtil.ExpressionFileFilter
extends Object
implements FileFilter

simple file filter that lists all files that match a regular expression

Author:
Rainer Prosi

Constructor Summary
FileUtil.ExpressionFileFilter(String _regExp)
           
 
Method Summary
 boolean accept(File checkFile)
          true if a file matches a regular expression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtil.ExpressionFileFilter

public FileUtil.ExpressionFileFilter(String _regExp)
Parameters:
_regExp - the simplified regular expression to match
Method Detail

accept

public boolean accept(File checkFile)
true if a file matches a regular expression

Specified by:
accept in interface FileFilter
See Also:
FileFilter.accept(java.io.File)


Copyright © 2013. All Rights Reserved.