Package openbook.tools.ant
Class Java2HTMLConverterTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.apache.tools.ant.taskdefs.MatchingTask
-
- openbook.tools.ant.Java2HTMLConverterTask
-
- All Implemented Interfaces:
java.lang.Cloneable
,org.apache.tools.ant.types.selectors.SelectorContainer
public class Java2HTMLConverterTask extends org.apache.tools.ant.taskdefs.MatchingTask
An ant task to run Java2HTML Converter.- Author:
- Pinaki Poddar
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Java2HTMLConverterTask.Arg
-
Constructor Summary
Constructors Constructor Description Java2HTMLConverterTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Java2HTMLConverterTask.Arg
createArg()
void
execute()
java.lang.String
getDestDir()
java.lang.String
getExtension()
java.lang.String
getLineNumberFormat()
java.lang.String
getSourcepath()
java.lang.String
getStylesheet()
boolean
isAddExplicitSpace()
boolean
isAddLineBreak()
boolean
isAnchorLineNumber()
boolean
isShowLineNumber()
boolean
isVerbose()
void
setAddExplicitSpace(boolean addExplicitSpace)
void
setAddLineBreak(boolean addLineBreak)
void
setAnchorLineNumber(boolean anchorLineNumber)
void
setDestDir(java.lang.String destDir)
void
setExtension(java.lang.String extension)
void
setLineNumberFormat(java.lang.String lineNumberFormat)
void
setShowLineNumber(boolean showLineNumber)
void
setSourcepath(java.lang.String sourcepath)
void
setStylesheet(java.lang.String stylesheet)
void
setVerbose(boolean verbose)
-
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
-
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
-
-
-
-
Method Detail
-
getSourcepath
public java.lang.String getSourcepath()
-
setSourcepath
public void setSourcepath(java.lang.String sourcepath)
-
execute
public void execute() throws org.apache.tools.ant.BuildException
- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-
createArg
public Java2HTMLConverterTask.Arg createArg()
-
getDestDir
public java.lang.String getDestDir()
-
setDestDir
public void setDestDir(java.lang.String destDir)
-
isVerbose
public boolean isVerbose()
-
setVerbose
public void setVerbose(boolean verbose)
-
getExtension
public java.lang.String getExtension()
- Returns:
- the extension
-
setExtension
public void setExtension(java.lang.String extension)
- Parameters:
extension
- the extension to set
-
getStylesheet
public java.lang.String getStylesheet()
- Returns:
- the stylesheet
-
setStylesheet
public void setStylesheet(java.lang.String stylesheet)
- Parameters:
stylesheet
- the stylesheet to set
-
isShowLineNumber
public boolean isShowLineNumber()
- Returns:
- the showLineNumber
-
setShowLineNumber
public void setShowLineNumber(boolean showLineNumber)
- Parameters:
showLineNumber
- the showLineNumber to set
-
isAnchorLineNumber
public boolean isAnchorLineNumber()
- Returns:
- the anchorLineNumber
-
setAnchorLineNumber
public void setAnchorLineNumber(boolean anchorLineNumber)
- Parameters:
anchorLineNumber
- the anchorLineNumber to set
-
isAddLineBreak
public boolean isAddLineBreak()
- Returns:
- the addLineBreak
-
setAddLineBreak
public void setAddLineBreak(boolean addLineBreak)
- Parameters:
addLineBreak
- the addLineBreak to set
-
isAddExplicitSpace
public boolean isAddExplicitSpace()
- Returns:
- the addExplicitSpace
-
setAddExplicitSpace
public void setAddExplicitSpace(boolean addExplicitSpace)
- Parameters:
addExplicitSpace
- the addExplicitSpace to set
-
getLineNumberFormat
public java.lang.String getLineNumberFormat()
- Returns:
- the lineNumberFormat
-
setLineNumberFormat
public void setLineNumberFormat(java.lang.String lineNumberFormat)
- Parameters:
lineNumberFormat
- the lineNumberFormat to set
-
-