AntFilterReader (Apache Ant API)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.types.DataType | +--org.apache.tools.ant.types.AntFilterReader
An AntFileReader is a wrapper class that encloses the classname and configuration of a Configurable FilterReader.
Field Summary |
Fields inherited from class org.apache.tools.ant.types.DataType |
checked, description, ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
AntFilterReader()
|
Method Summary | |
void |
addParam(Parameter param)
|
Path |
createClasspath()
Set the classpath to load the FilterReader through (nested element). |
java.lang.String |
getClassName()
|
Path |
getClasspath()
Get the classpath |
Parameter[] |
getParams()
|
void |
setClassName(java.lang.String className)
|
void |
setClasspath(Path classpath)
Set the classpath to load the FilterReader through (attribute). |
void |
setClasspathRef(Reference r)
Set the classpath to load the FilterReader through via reference (attribute). |
void |
setRefid(Reference r)
Makes this instance in effect a reference to another AntFilterReader instance. |
Methods inherited from class org.apache.tools.ant.types.DataType |
circularReference, dieOnCircularReference, getCheckedRef, getDescription, isReference, noChildrenAllowed, setDescription, tooManyAttributes |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AntFilterReader()
Method Detail |
public final void setClassName(java.lang.String className)
public final java.lang.String getClassName()
public final void addParam(Parameter param)
public final void setClasspath(Path classpath)
public final Path createClasspath()
public final Path getClasspath()
public void setClasspathRef(Reference r)
public final Parameter[] getParams()
public void setRefid(Reference r) throws BuildException
You must not set another attribute or nest elements inside this element if you make it a reference.
setRefid
in class DataType
r
- the reference to which this instance is associated
BuildException
- if this instance already has been configured.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |