org.jmlspecs.ant.tasks
Class FileSetWrapper
java.lang.Object
org.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
Specifications inherited from class Object |
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT;
public represents _getClass <- \typeof(this); |
Field Summary |
private org.apache.tools.ant.types.FileSet |
_fileset
|
Constructor Summary |
FileSetWrapper(org.apache.tools.ant.types.FileSet fileset)
|
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 |
_fileset
private org.apache.tools.ant.types.FileSet _fileset
- Specifications: non_null
FileSetWrapper
public FileSetWrapper(org.apache.tools.ant.types.FileSet fileset)
- Specifications:
-
public normal_behavior
requires fileset != null;
assignable \not_specified;
ensures this.getFileSet() == fileset;
getFileSet
public org.apache.tools.ant.types.FileSet 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.