org.jscience.io
Class FileNamePatternFilter

java.lang.Object
  extended by org.jscience.io.FileNamePatternFilter

public class FileNamePatternFilter
extends java.lang.Object

filters by matching the file name to a regular expression.


Constructor Summary
FileNamePatternFilter(java.lang.String regexFileName)
          Creates a new FileNamePatternFilter object.
FileNamePatternFilter(java.lang.String regexFileName, boolean includeFullPath)
          Creates a new FileNamePatternFilter object.
 
Method Summary
 boolean accept(java.io.File file)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileNamePatternFilter

public FileNamePatternFilter(java.lang.String regexFileName)
Creates a new FileNamePatternFilter object.

Parameters:
regexFileName - DOCUMENT ME!

FileNamePatternFilter

public FileNamePatternFilter(java.lang.String regexFileName,
                             boolean includeFullPath)
Creates a new FileNamePatternFilter object.

Parameters:
regexFileName - DOCUMENT ME!
includeFullPath - DOCUMENT ME!
Method Detail

accept

public boolean accept(java.io.File file)
DOCUMENT ME!

Parameters:
file - DOCUMENT ME!
Returns:
DOCUMENT ME!