public class PDFDecryptWorker extends StreamWorker<PDFDecryptNode>
Constructor and Description |
---|
PDFDecryptWorker() |
Modifier and Type | Method and Description |
---|---|
void |
initialize()
This method may be overridden, in order do perform initialization which is necessary before the
actual work is started.
|
protected boolean |
isEncrypted(com.levigo.jadice.document.io.SeekableInputStream seekIS) |
protected boolean |
isEncryptionSupported(com.levigo.jadice.document.io.SeekableInputStream seekIS) |
protected void |
work(Stream stream)
Implement this method in order to work on a single stream.
|
accept, reject, work
abort, abortNow, addInputBundle, addOutputBundle, doAbort, doAbortNow, error, error, error, fail, fail, fail, getController, getInputBundle, getInputBundles, getJob, getLimitSupport, getNode, getOutputBundle, getOutputBundles, getServerJob, getState, getStreamTransportFactory, getTransportSender, isAbortRequested, postWork, preWork, run, setDescriptor, setJob, toString, warn, warn, warn
public void initialize() throws JobException
NodeWorker
initialize
in class NodeWorker<PDFDecryptNode>
JobException
protected void work(Stream stream) throws Throwable
StreamWorker
work
in class StreamWorker<PDFDecryptNode>
Throwable
protected boolean isEncryptionSupported(com.levigo.jadice.document.io.SeekableInputStream seekIS) throws Exception
Exception
Copyright © 2017 levigo holding gmbh. All rights reserved.