|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This defines the plugin interface for template engine wrappers for the WebTemplate Ant task.
| Method Summary | |
void |
convert(java.io.File srcFile,
java.io.File destFile)
Converts a single text-formatted file to an HTML-formatted file. |
void |
setParent(org.apache.tools.ant.Task parent)
Allows the Text2HTML task to pass the plugin a reference to the Parent (the caller) so that it can send it log messages. |
void |
setScript(java.lang.String script)
Optionally called if there is a "script" parameter. |
| Method Detail |
public void convert(java.io.File srcFile,
java.io.File destFile)
throws org.apache.tools.ant.BuildException
The parameters include the source data file and the destination file where the resulting converted file will be written by this method.
srcFile - name of the input file.destFile - name of the destination file.
org.apache.tools.ant.BuildExceptionpublic void setParent(org.apache.tools.ant.Task parent)
parent - public void setScript(java.lang.String script)
script -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||