|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.howardism.ant.MarkdownPlugin
| Constructor Summary | |
MarkdownPlugin()
|
|
| Method Summary | |
void |
convert(java.io.File srcFile,
java.io.File destFile)
Converts a Textile-formatted text file to an HTML-formatted file. |
static void |
main(java.lang.String[] args)
|
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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MarkdownPlugin()
| Method Detail |
public void convert(java.io.File srcFile,
java.io.File destFile)
throws org.apache.tools.ant.BuildException
Textile is Textism's "Humane Web Text Generator" and has a goal that a formatting using Textile is much easier to type than HTML, see http://www.textism.com/tools/textile
The parameters include the source data file and the destination file where the resulting converted file will be written by this method.
convert in interface Text2HTMLPluginsrcFile - name of the input file.destFile - name of the destination file.
org.apache.tools.ant.BuildExceptionpublic void setParent(org.apache.tools.ant.Task parent)
setParent in interface Text2HTMLPluginparent - public void setScript(java.lang.String script)
Text2HTMLPlugin
setScript in interface Text2HTMLPluginscript - public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||