java.lang.Objectcom.java2html.Java2HTML
public class Java2HTML
Generates Java2HTML output
Constructor Summary | |
---|---|
Java2HTML()
|
Method Summary | |
---|---|
boolean |
buildJava2HTML()
Builds the Java2HTML returns true if there where no failures detected |
static void |
main(java.lang.String[] options)
Called by Command Line Wrappers |
void |
setDestination(java.lang.String destination)
Sets the output directory that the generated HTML will be placed into. |
void |
setFooter(boolean footer)
Determines if a footer should be generated when buildJava2HTML() is called. |
void |
setHeader(boolean header)
Determines if a header should be generated when buildJava2HTML() is called. |
void |
setJavaDirectorySource(java.lang.String[] directories)
Set the Java Source directories that will be converted into HTML. |
void |
setJavaDoc(JavaDoc[] javaDocOptions)
Set the Java Doc directories. |
void |
setJavaFileSource(java.lang.String[] files)
Sets a list of java source files that will be converted into HTML. |
void |
setMarginSize(int marginSize)
Set the margin size that should be generated when buildJava2HTML() is called. |
void |
setSimple(boolean simple)
Determines if only the java source and stylesheet files will be output |
void |
setTabSize(int tabSize)
Set the number of spaces that tabs will be converted to when buildJava2HTML() is called. |
void |
setTitle(java.lang.String title)
Set the title that will be used when buildJava2HTML() is called. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Java2HTML()
Method Detail |
---|
public boolean buildJava2HTML() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] options)
options
- public void setDestination(java.lang.String destination)
destination
- Directory where output will be directed topublic void setFooter(boolean footer)
footer
- set to true if a header is requiredpublic void setHeader(boolean header)
header
- set to true if a header is requiredpublic void setJavaDirectorySource(java.lang.String[] directories) throws BadOptionException
directories
- List of Java Source Directories
BadOptionException
public void setJavaDoc(JavaDoc[] javaDocOptions)
javaDocOptions
- List of JavaDocOptionspublic void setJavaFileSource(java.lang.String[] files)
files
- List of Java Filespublic void setMarginSize(int marginSize)
marginSize
- Margin Sizepublic void setSimple(boolean simple)
simple
- set to true for simple outputpublic void setTabSize(int tabSize)
tabSize
- Number of spaces tabs should be converted to.public void setTitle(java.lang.String title)
title
- The title that will be displayed in the generated HTML