Class PDFDecryptWorker

    • Constructor Detail

      • PDFDecryptWorker

        public PDFDecryptWorker()
    • Method Detail

      • initialize

        public void initialize()
                        throws JobException
        Description copied from class: NodeWorker
        This method may be overridden, in order do perform initialization which is necessary before the actual work is started.
        Caveat: this method may be called synchronously by the server master thread. Therefore the work done within this call should be kept to an absolute minimum so as not to stall the job acceptor.
        Overrides:
        initialize in class NodeWorker<PDFDecryptNode>
        Throws:
        JobException - in case of initialization failure
      • isEncryptionSupported

        protected boolean isEncryptionSupported​(com.levigo.jadice.document.io.SeekableInputStream seekIS)
                                         throws Exception
        Throws:
        Exception
      • isEncrypted

        protected boolean isEncrypted​(com.levigo.jadice.document.io.SeekableInputStream seekIS)
                               throws Exception
        Throws:
        Exception