Class PDFCompositeWorker
- java.lang.Object
-
- com.levigo.jadice.server.core.NodeWorker<PDFCompositeNode>
-
- com.levigo.jadice.server.pdf.worker.PDFCompositeWorker
-
- All Implemented Interfaces:
QualifiedLogEventReceiver
,WorkerController<PDFCompositeNode>
,Runnable
public class PDFCompositeWorker extends NodeWorker<PDFCompositeNode>
-
-
Constructor Summary
Constructors Constructor Description PDFCompositeWorker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
compositeViaDOCP()
protected void
compositeViaPdfBox()
void
work()
Implement this method to let the node perform some useful work.-
Methods inherited from class com.levigo.jadice.server.core.NodeWorker
abort, abortNow, addInputBundle, addOutputBundle, doAbort, doAbortNow, error, error, error, fail, fail, fail, getController, getInputBundle, getInputBundles, getJob, getLimitSupport, getNode, getOutputBundle, getOutputBundles, getServerJob, getState, getStreamTransportFactory, getTransportSender, initialize, isAbortRequested, postWork, preWork, run, setDescriptor, setJob, toString, warn, warn, warn
-
-
-
-
Method Detail
-
work
public void work() throws Exception
Description copied from class:NodeWorker
Implement this method to let the node perform some useful work.Implementors are free to throw whatever exception they see fit. If any
Throwable
is thrown from this method, the failure manager is notified about the fatal failure of the whole pipeline.- Specified by:
work
in classNodeWorker<PDFCompositeNode>
- Throws:
Exception
-
compositeViaPdfBox
protected void compositeViaPdfBox() throws IOException
- Throws:
IOException
-
compositeViaDOCP
protected void compositeViaDOCP() throws IOException, com.levigo.jadice.document.JadiceException
- Throws:
IOException
com.levigo.jadice.document.JadiceException
-
-