public class FileTaskOutput extends Object implements SingleTaskOutput<File>
File output destination.| Constructor and Description |
|---|
FileTaskOutput(File file)
Creates a new instance of a
FileTaskOutput using the input file. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(TaskOutputDispatcher writer)
Accept a dispatcher dispatching the correct method implementation
|
boolean |
equals(Object other) |
File |
getDestination() |
int |
hashCode() |
String |
toString() |
public FileTaskOutput(File file)
FileTaskOutput using the input file.file - IllegalArgumentException - if the input file is null or not a filepublic File getDestination()
getDestination in interface TaskOutput<File>public void accept(TaskOutputDispatcher writer) throws TaskOutputVisitException
TaskOutputaccept in interface TaskOutput<File>TaskOutputVisitException - in case of errorCopyright © 2015. All Rights Reserved.