|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--net.cafebabe.sat.util.FileTask | +--net.cafebabe.sat.xml.MergeTask
This task merge XML files in a single file (see documentation for more details).
Field Summary |
Fields inherited from class net.cafebabe.sat.util.FileTask |
|
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 | |
MergeTask()
|
Method Summary | |
void |
execute()
The method to launch the program as an Ant task. |
void |
setDoctype(java.lang.String doctype)
Doctype setter. |
void |
setEncoding(java.lang.String encoding)
Encoding setter. |
void |
setForve(boolean force)
Set the force attribute (force merging if true). |
void |
setNestingElement(boolean nestingElement)
Indicate if a nesting element is necessary. |
void |
setNestingElementName(java.lang.String nestingElementName)
Indicate the name of the nesting element. |
void |
setTofile(java.lang.String tofile)
Destination file setter. |
Methods inherited from class net.cafebabe.sat.util.FileTask |
addFileset, getFiles, getNewFiles, newerFilesThan, setDir, setFile |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, 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 MergeTask()
Method Detail |
public void setTofile(java.lang.String tofile)
tofile
- The destination file.public void setEncoding(java.lang.String encoding)
encoding
- The encoding of the XML filespublic void setDoctype(java.lang.String doctype)
doctype
- The doctype of the XML file.public void setNestingElement(boolean nestingElement)
nestingElement
- public void setNestingElementName(java.lang.String nestingElementName)
nestingElementName
- public void setForve(boolean force)
force
- Force flaf as a booleanpublic void execute()
execute
in class org.apache.tools.ant.Task
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |