com.isti.util
Class SpecificFileFilter

java.lang.Object
  extended by com.isti.util.AbstractFileFilter
      extended by com.isti.util.SpecificFileFilter
All Implemented Interfaces:
java.io.FileFilter

 class SpecificFileFilter
extends AbstractFileFilter

Single file filter.


Field Summary
 
Fields inherited from class com.isti.util.AbstractFileFilter
filter
 
Constructor Summary
SpecificFileFilter(java.lang.String filter)
          Constructs a single file filter.
 
Method Summary
 boolean accept(java.lang.String filename)
          Tests whether or not the specified abstract pathname should be included in a pathname list.
 
Methods inherited from class com.isti.util.AbstractFileFilter
accept, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpecificFileFilter

public SpecificFileFilter(java.lang.String filter)
Constructs a single file filter.

Parameters:
filter - filter file string
Method Detail

accept

public boolean accept(java.lang.String filename)
Tests whether or not the specified abstract pathname should be included in a pathname list.

Specified by:
accept in class AbstractFileFilter
Parameters:
filename - The filename to be tested
Returns:
true if and only if pathname should be included