JML

org.jmlspecs.ant.tasks
Class FileSetWrapper

java.lang.Object
  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:


 fileset.new Visitor() {
   public void visit(File file) {
     //action code
   }
 }.visit(project);

Version:
$Revision: 1.3 $
Author:
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  org.apache.tools.ant.types.FileSet _fileset
           
 
Constructor Summary
FileSetWrapper(org.apache.tools.ant.types.FileSet fileset)
           
 
Model Method Summary
 
Model methods inherited from class java.lang.Object
hashValue
 
Method Summary
 org.apache.tools.ant.types.FileSet getFileSet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_fileset

private org.apache.tools.ant.types.FileSet _fileset
Specifications: non_null
Constructor Detail

FileSetWrapper

public FileSetWrapper(org.apache.tools.ant.types.FileSet fileset)
Specifications:
public normal_behavior
requires fileset != null;
assignable \not_specified;
ensures this.getFileSet() == fileset;
Method Detail

getFileSet

public org.apache.tools.ant.types.FileSet getFileSet()
Specifications: pure non_null
public behavior
ensures \result != null;

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.