|
Jacson | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Reader java.io.FilterReader de.spieleck.app.jacson.JacsonReader de.spieleck.app.jacson.ant.JacsonAntFilter
Wrap a Jacson into a FilterReader
which works within
a Ant FilterChain.
Parameters can be be feed thru the FilterReader/param mechanism. The parameter
is necessary to point to a configuration file to make Jacson work. Note that Configurations used by will not work with all kinds of reports.
PrintingReport
and ValuePrintingReport
will work.
Field Summary | |
protected Parameter[] |
parameters
The filter parameters. |
protected Project |
project
The environmental project. |
Fields inherited from class de.spieleck.app.jacson.JacsonReader |
configName, jacson, PIPE_BROKEN, pWriter, reader, rootState, WRITE_END_DEAD |
Fields inherited from class java.io.FilterReader |
in |
Fields inherited from class java.io.Reader |
lock |
Constructor Summary | |
JacsonAntFilter(java.io.Reader reader)
Create this filter. |
Method Summary | |
Project |
getProject()
Get the project. |
protected JacsonState |
obtainRootState()
Factory method for root state. |
void |
setParameters(Parameter[] parameters)
Store the filter parameters. |
void |
setProject(Project project)
Store the environmental Ant project. |
Methods inherited from class de.spieleck.app.jacson.JacsonReader |
close, isIgnorableException, mark, markSupported, read, read, ready, reset, runJacson, setConfig, setupJacson, skip |
Methods inherited from class java.io.Reader |
read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Project project
protected Parameter[] parameters
Constructor Detail |
public JacsonAntFilter(java.io.Reader reader) throws JacsonConfigException, java.io.IOException
Method Detail |
public void setProject(Project project)
project
- this is the project.
XXX Not called by ant!public Project getProject()
public void setParameters(Parameter[] parameters)
parameters
- the environmental parameters.protected JacsonState obtainRootState()
JacsonReader
obtainRootState
in class JacsonReader
|
Spieleck | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |