com.isti.util
Class PrefixFileFilter

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

 class PrefixFileFilter
extends AbstractFileFilter

Prefix file filter.


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

PrefixFileFilter

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