public class FileTaskOutput extends AbstractTaskOutput implements SingleTaskOutput
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() |
getEncryptionAtRestPolicy, setEncryptionAtRestPolicyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEncryptionAtRestPolicy, setEncryptionAtRestPolicypublic 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 TaskOutputpublic void accept(TaskOutputDispatcher writer) throws TaskOutputVisitException
TaskOutputaccept in interface TaskOutputTaskOutputVisitException - in case of errorpublic String toString()
toString in class AbstractTaskOutputpublic int hashCode()
hashCode in class AbstractTaskOutputpublic boolean equals(Object other)
equals in class AbstractTaskOutputCopyright © 2021 sejda. All rights reserved.