JML

org.jmlspecs.samples.dirobserver
Interface Directory

All Superinterfaces:
Cloneable, DirObserverKeeper, JMLType, RODirectory, Serializable

public interface Directory
extends RODirectory

Directories that can be both read and written.


Method Summary
 void addEntry(String n, File f)
          Add a mapping from the given string to the given file to this directory.
 void removeEntry(String n)
          Remove the entry with the given name from this directory.
 
Methods inherited from interface org.jmlspecs.samples.dirobserver.RODirectory
equals, thisFile
 
Methods inherited from interface org.jmlspecs.samples.dirobserver.DirObserverKeeper
inNotifier, register, unregister
 
Methods inherited from interface org.jmlspecs.models.JMLType
clone, hashCode
 

Method Detail

addEntry

public void addEntry(String n,
                     File f)
Add a mapping from the given string to the given file to this directory.


removeEntry

public void removeEntry(String n)
Remove the entry with the given name from this directory.


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.