Package org.apache.pdfbox.debugger
Class PDFDebugger.DocumentOpener
- java.lang.Object
-
- org.apache.pdfbox.debugger.PDFDebugger.DocumentOpener
-
- Enclosing class:
- PDFDebugger
abstract static class PDFDebugger.DocumentOpener extends java.lang.ObjectInternal class to avoid double code in password entry loop.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Stringpassword
-
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 PDDocumentopen()Override to load the actual input type (File, URL, stream), don't call it directly!(package private) PDDocumentparse()Call this!
-
-
-
Method Detail
-
open
abstract PDDocument open() throws java.io.IOException, java.net.URISyntaxException
Override to load the actual input type (File, URL, stream), don't call it directly!- Returns:
- the PDDocument instance
- Throws:
java.io.IOException- Cannot read documentjava.net.URISyntaxException
-
parse
final PDDocument parse() throws java.io.IOException, java.net.URISyntaxException
Call this!- Returns:
- the PDDocument instance
- Throws:
java.io.IOException- Cannot read documentjava.net.URISyntaxException
-
-