java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--com.java2html.Java2HTMLTask
Field Summary |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
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(com.java2html.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 |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, 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)
public void addConfiguredJavaDoc(com.java2html.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.Task
org.apache.tools.ant.BuildException
public 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