Class FileSetWrapper

  extended byorg.jmlspecs.ant.tasks.FileSetWrapper

public class FileSetWrapper
extends Object

The inner class Visitor is provided to conveniently perform a certain action on all element in a FileSet. It is typically used as follows in a task: Visitor() {
   public void visit(File file) {
     //action code

$Revision: 1.3 $
Marko van Dooren

Class Specifications

Specifications inherited from class Object
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT;
public represents _getClass <- \typeof(this);

Nested Class Summary
 class FileSetWrapper.Visitor
Model Field Summary
Model fields inherited from class java.lang.Object
_getClass, objectState, theString
Ghost Field Summary
Ghost fields inherited from class java.lang.Object
objectTimesFinalized, owner
Field Summary
private _fileset
Constructor Summary
FileSetWrapper( fileset)
Model Method Summary
Model methods inherited from class java.lang.Object
Method Summary getFileSet()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


private _fileset
Specifications: non_null
Constructor Detail


public FileSetWrapper( fileset)
public normal_behavior
requires fileset != null;
assignable \not_specified;
ensures this.getFileSet() == fileset;
Method Detail


public getFileSet()
Specifications: pure non_null
public behavior
ensures \result != null;


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.