org.databene.platform.file
Class FileJoiner
java.lang.Object
org.databene.task.AbstractTask
org.databene.platform.file.FileJoiner
- All Implemented Interfaces:
- java.io.Closeable, org.databene.commons.ThreadAware, Task
public class FileJoiner
- extends AbstractTask
Joins several source files into a destination file.
If the property 'append' is 'true' and the destination file already exists,
it will append the source files' contents to the existing file.
Created at 16.09.2009 15:50:25
- Since:
- 0.6.0
- Author:
- Volker Bergmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FileJoiner
public FileJoiner()
getSources
public java.lang.String[] getSources()
setSources
public void setSources(java.lang.String[] sources)
getDestination
public java.lang.String getDestination()
setDestination
public void setDestination(java.lang.String destination)
isAppend
public boolean isAppend()
setAppend
public void setAppend(boolean append)
isDeleteSources
public boolean isDeleteSources()
setDeleteSources
public void setDeleteSources(boolean deleteSources)
execute
public TaskResult execute(org.databene.commons.Context ctx,
org.databene.commons.ErrorHandler errorHandler)
- Description copied from interface:
Task
- Executes the task's work, possibly interacting with the context.
Copyright © 2013. All Rights Reserved.