java.lang.Object
org.greenstone.gatherer.util.Generator
- public class Generator
- extends java.lang.Object
Automatically generates html help documents given an input text file using markup and a template defining what the markup means.
- Version:
- 1.0
|
Nested Class Summary |
private class |
Generator.HTMLBlock
An HTML block object is essentially a String buffer containing several places where it demands further text be appended. |
private class |
Generator.SourceManager
Reads in the given text file, outputing HTML by utilizing HTML blocks stored in the TemplateManager. |
private class |
Generator.TemplateManager
Reads in a template file, extracting HTMLBlocks and storing them. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
file_output_stream
private java.io.FileOutputStream file_output_stream
template_manager
private Generator.TemplateManager template_manager
Generator
public Generator(java.io.File test_file,
java.io.File template_file)
exit
public void exit()
out
public void out(java.lang.String msg)
main
public static void main(java.lang.String[] args)