java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.java2html.Java2HTMLTask
public class Java2HTMLTask
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
Java2HTMLTask()
|
|
| Method Summary | |
|---|---|
void |
addConfiguredFileSet(org.apache.tools.ant.types.FileSet fileSet)
Set the Java Source directories that will be converted into HTML. |
void |
addConfiguredJavaDoc(JavaDoc javaDoc)
|
void |
execute()
|
void |
setDestination(java.io.File destination)
Sets the output directory that the generated HTML will be placed into. |
void |
setFailOnError(boolean failOnError)
|
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 |
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 org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Java2HTMLTask()
| Method Detail |
|---|
public void addConfiguredFileSet(org.apache.tools.ant.types.FileSet fileSet)
fileSet - List of Java Source Directories
public void addConfiguredJavaDoc(JavaDoc javaDoc)
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic void setDestination(java.io.File destination)
destination - Directory where output will be directed topublic void setFailOnError(boolean failOnError)
public 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 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