|
Concat (Apache Ant API)
org.apache.tools.ant.taskdefs
|
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 | |
Concat()
Public, no-argument constructor. |
Method Summary | |
void |
addFilelist(FileList list)
List of files to concatenate. |
void |
addFileset(FileSet set)
Set of files to concatenate. |
void |
addText(java.lang.String text)
This method adds text which appears in the 'concat' element. |
void |
execute()
This method performs the concatenation. |
void |
reset()
Reset state to default. |
void |
setAppend(boolean append)
Sets the behavior when the destination file exists. |
void |
setDestfile(java.io.File destinationFile)
Sets the destination file, or uses the console if not specified. |
void |
setEncoding(java.lang.String encoding)
Sets the encoding for the input files, used when displaying the data via the console. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, 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 Concat()
Method Detail |
public void setDestfile(java.io.File destinationFile)
public void setAppend(boolean append)
true
the stream data will be appended to the
existing file, otherwise the existing file will be
overwritten. Defaults to false
.
public void setEncoding(java.lang.String encoding)
public void addFileset(FileSet set)
public void addFilelist(FileList list)
public void addText(java.lang.String text)
public void execute() throws BuildException
BuildException
- if something goes wrong with the buildpublic void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |