org.sejda.model.output
Interface TaskOutput<T>

Type Parameters:
T - the generic type for the output
All Known Subinterfaces:
MultipleTaskOutput<T>, SingleTaskOutput<T>
All Known Implementing Classes:
DirectoryTaskOutput, FileTaskOutput, StreamTaskOutput

public interface TaskOutput<T>

Represents task output destination where results of a manipulation will be written.

Author:
Andrea Vacondio

Method Summary
 void accept(TaskOutputDispatcher dispatcher)
          Accept a dispatcher dispatching the correct method implementation
 T getDestination()
           
 

Method Detail

getDestination

T getDestination()
Returns:
the output destination for the task

accept

void accept(TaskOutputDispatcher dispatcher)
            throws TaskOutputVisitException
Accept a dispatcher dispatching the correct method implementation

Parameters:
dispatcher -
Throws:
TaskOutputVisitException - in case of error


Copyright © 2013 sejda. All Rights Reserved.