com.pingdynasty.hatatap
Class HatatapTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.pingdynasty.hatatap.HatatapTask
- public class HatatapTask
- extends org.apache.tools.ant.Task
| 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 |
|
Method Summary |
void |
addConfiguredFileSet(org.apache.tools.ant.types.FileSet set)
|
org.apache.tools.ant.types.Path |
createClasspath()
Set the optional classpath |
org.apache.tools.ant.types.Parameter |
createExtension()
|
org.apache.tools.ant.types.Parameter |
createParam()
|
void |
execute()
|
protected java.io.File |
getTargetFile(java.lang.String in,
java.io.File dir)
|
void |
run(java.io.File input,
java.io.File output)
|
void |
setClasspath(org.apache.tools.ant.types.Path path)
Set the optional classpath |
void |
setClasspathRef(org.apache.tools.ant.types.Reference ref)
Set the reference to an optional classpath |
void |
setDestdir(java.io.File destDir)
|
void |
setIn(java.io.File inFile)
|
void |
setLoglevel(java.lang.String level)
|
void |
setOut(java.io.File outFile)
|
void |
setSuffix(java.lang.String suffix)
|
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| 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 |
HatatapTask
public HatatapTask()
throws HatatapException
addConfiguredFileSet
public void addConfiguredFileSet(org.apache.tools.ant.types.FileSet set)
setLoglevel
public void setLoglevel(java.lang.String level)
setDestdir
public void setDestdir(java.io.File destDir)
setSuffix
public void setSuffix(java.lang.String suffix)
setOut
public void setOut(java.io.File outFile)
setIn
public void setIn(java.io.File inFile)
createParam
public org.apache.tools.ant.types.Parameter createParam()
createExtension
public org.apache.tools.ant.types.Parameter createExtension()
setClasspath
public void setClasspath(org.apache.tools.ant.types.Path path)
- Set the optional classpath
- Parameters:
path - the classpath to use
createClasspath
public org.apache.tools.ant.types.Path createClasspath()
- Set the optional classpath
- Returns:
- a path instance to be configured by the Ant core.
setClasspathRef
public void setClasspathRef(org.apache.tools.ant.types.Reference ref)
- Set the reference to an optional classpath
- Parameters:
ref - the id of the Ant path instance to act as the classpath
for loading the XSL processor
run
public void run(java.io.File input,
java.io.File output)
throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
getTargetFile
protected java.io.File getTargetFile(java.lang.String in,
java.io.File dir)
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException