|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.io.AppendType
public class AppendType
<oddjob id="this">
<job>
<sequential>
<jobs>
<variables id="vars">
<myFile>
<append>
<file>
<file file="${this.args[0]}/messages.txt"/>
</file>
</append>
</myFile>
</variables>
<echo>Hello World
<output>
<value value="${vars.myFile}"/>
</output>
</echo>
<echo>Goodbye World
<output>
<value value="${vars.myFile}"/>
</output>
</echo>
</jobs>
</sequential>
</job>
</oddjob>
| Nested Class Summary | |
|---|---|
static class |
AppendType.Conversions
|
| Constructor Summary | |
|---|---|
AppendType()
|
|
| Method Summary | |
|---|---|
File |
getFile()
|
void |
setFile(File file)
Set the file. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AppendType()
| Method Detail |
|---|
public File getFile()
public void setFile(File file)
file - The file.public String toString()
toString in class Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||