com.isti.util
Class ExtensionFileFilter

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

 class ExtensionFileFilter
extends AbstractFileFilter

Extension file filter.


Field Summary
 
Fields inherited from class com.isti.util.AbstractFileFilter
filter
 
Constructor Summary
ExtensionFileFilter(java.lang.String filter)
          Constructs a extension 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

ExtensionFileFilter

public ExtensionFileFilter(java.lang.String filter)
Constructs a extension 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