Class PDFDebugger.DocumentOpener

  • Enclosing class:
    PDFDebugger

    abstract class PDFDebugger.DocumentOpener
    extends java.lang.Object
    Internal class to avoid double code in password entry loop.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String password  
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentOpener​(java.lang.String password)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) abstract PDDocument open()
      Override to load the actual input type (File, URL, stream), don't call it directly!
      (package private) PDDocument parse()
      Call this!
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • password

        java.lang.String password
    • Constructor Detail

      • DocumentOpener

        DocumentOpener​(java.lang.String password)
    • Method Detail

      • open

        abstract PDDocument open()
                          throws java.io.IOException
        Override to load the actual input type (File, URL, stream), don't call it directly!
        Returns:
        Throws:
        java.io.IOException
      • parse

        final PDDocument parse()
                        throws java.io.IOException
        Call this!
        Returns:
        Throws:
        java.io.IOException