public class AntTask extends org.apache.tools.ant.Task
The following attributes are mutually exclusive:
Constructor and Description |
---|
AntTask() |
Modifier and Type | Method and Description |
---|---|
void |
addConfigured(org.apache.tools.ant.types.ResourceCollection value)
Resources to convert.
|
void |
execute()
The ANT task "execute" method.
|
void |
setFile(java.io.File value)
The file that contains the HTML document to convert.
|
void |
setPageLeftMargin(int value)
The number of spaces that preceeds each line of output.
|
void |
setPageRightMargin(int value)
The maximum length of output lines is "pageWidth - rightMarginWidth".
|
void |
setPageWidth(int value)
The maximum length of output lines is "pageWidth - rightMarginWidth".
|
void |
setTodir(java.io.File value)
The directory where the output file(s) will be created.
|
void |
setTofile(java.io.File value)
The file that contains generated plain text.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public AntTask()
public void setFile(java.io.File value)
public void setTofile(java.io.File value)
public void setTodir(java.io.File value)
.html
" suffix (if any), plus an ".txt
" extension.
The default is the source resource's base directory (if any), otherwise the project's base directory.
public void setPageLeftMargin(int value)
public void setPageRightMargin(int value)
The default value is @"1" in order to avoid extra line wraps on certain terminals.
1
public void setPageWidth(int value)
Defaults to the value of the environment variable "$COLUMNS", or, if that is not set, to 80.
$COLUMNS|80
public void addConfigured(org.apache.tools.ant.types.ResourceCollection value)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Task.execute()