org.apache.tools.ant.types

Class AntFilterReader

public final class AntFilterReader extends DataType implements Cloneable

An AntFileReader is a wrapper class that encloses the classname and configuration of a Configurable FilterReader.
Method Summary
voidaddParam(Parameter param)
PathcreateClasspath()
Set the classpath to load the FilterReader through (nested element).
StringgetClassName()
PathgetClasspath()
Get the classpath
Parameter[]getParams()
voidsetClassName(String className)
voidsetClasspath(Path classpath)
Set the classpath to load the FilterReader through (attribute).
voidsetClasspathRef(Reference r)
Set the classpath to load the FilterReader through via reference (attribute).
voidsetRefid(Reference r)
Makes this instance in effect a reference to another AntFilterReader instance.

Method Detail

addParam

public final void addParam(Parameter param)

createClasspath

public final Path createClasspath()
Set the classpath to load the FilterReader through (nested element).

getClassName

public final String getClassName()

getClasspath

public final Path getClasspath()
Get the classpath

getParams

public final Parameter[] getParams()

setClassName

public final void setClassName(String className)

setClasspath

public final void setClasspath(Path classpath)
Set the classpath to load the FilterReader through (attribute).

setClasspathRef

public void setClasspathRef(Reference r)
Set the classpath to load the FilterReader through via reference (attribute).

setRefid

public void setRefid(Reference r)
Makes this instance in effect a reference to another AntFilterReader instance.

You must not set another attribute or nest elements inside this element if you make it a reference.

Parameters: r the reference to which this instance is associated

Throws: BuildException if this instance already has been configured.

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.