JML

org.jmlspecs.jmlspec
Class Main.SuffixFilter

java.lang.Object
  extended byorg.jmlspecs.jmlspec.Main.SuffixFilter
All Implemented Interfaces:
FilenameFilter
Enclosing class:
Main

static class Main.SuffixFilter
extends Object
implements FilenameFilter

This class is used with the Directory.list method to list those files in a directory that this program is interested in processing - in this case, all those that end in a valid suffix.


Field Summary
protected  String[] suffixes
           
 
Constructor Summary
Main.SuffixFilter(String[] suf)
           
 
Method Summary
 boolean accept(File dir, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

suffixes

protected String[] suffixes
Constructor Detail

Main.SuffixFilter

public Main.SuffixFilter(String[] suf)
Method Detail

accept

public boolean accept(File dir,
                      String name)
Specified by:
accept in interface FilenameFilter

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.