mark.core.files
Class SuffixFilter

java.lang.Object
  |
  +--mark.core.files.SuffixFilter
All Implemented Interfaces:
java.io.FileFilter

public class SuffixFilter
extends java.lang.Object
implements java.io.FileFilter

A SuffixFilter is a Filter that accepts files that end with a certain suffix.


Constructor Summary
SuffixFilter(java.lang.String suff)
          Initializes the Suffix.
 
Method Summary
 boolean accept(java.io.File f)
          Overrides the method in java.io.FileFilter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuffixFilter

public SuffixFilter(java.lang.String suff)
Initializes the Suffix.

Parameters:
suff - the suffix that the filter accepts.
Method Detail

accept

public boolean accept(java.io.File f)
Overrides the method in java.io.FileFilter.

Specified by:
accept in interface java.io.FileFilter