public class DocumentGenerator
extends java.lang.Object
Constructor and Description |
---|
DocumentGenerator() |
Modifier and Type | Method and Description |
---|---|
protected static void |
exhale(java.lang.String data,
java.lang.String HtmlFileName)
write out string data to file HtmlFileName
|
protected static java.lang.String |
inhale(java.lang.String htmFile)
return the String that is the content of the template file
|
static void |
main(java.lang.String templateFile,
java.lang.String outputHtml,
java.lang.String... sourceCodeFileNames)
create .html file outputHtml given a .htm BuildDocTest and the
sourceCodeFile (typically .java) from which to extract code.
|
protected static void exhale(java.lang.String data, java.lang.String HtmlFileName)
data
- -- string of file contentsHtmlFileName
- -- name of file to writeprotected static java.lang.String inhale(java.lang.String htmFile)
htmFile
- -- path to template filepublic static void main(java.lang.String templateFile, java.lang.String outputHtml, java.lang.String... sourceCodeFileNames)
sourceCodeFileNames
- -- file that has named begin+end markers --
doesn't have to be a .java filetemplateFile
- --- .htm file with named markers (where source code
is to be inserted)outputHtml
- -- output .html file