Package org.apache.pdfbox.pdfparser
Class VisualSignatureParser
java.lang.Object
org.apache.pdfbox.pdfparser.BaseParser
org.apache.pdfbox.pdfparser.VisualSignatureParser
-
Field Summary
Fields inherited from class org.apache.pdfbox.pdfparser.BaseParser
DEF, document, ENDOBJ, ENDSTREAM, forceParsing, pdfSource, PROP_PUSHBACK_SIZE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the underlying COSDocument.void
parse()
This will parse the tokens making up the visual signature.Methods inherited from class org.apache.pdfbox.pdfparser.BaseParser
clearResources, isClosing, isClosing, isEndOfName, isEOL, isEOL, isWhitespace, isWhitespace, parseBoolean, parseCOSArray, parseCOSDictionary, parseCOSName, parseCOSStream, parseCOSString, parseCOSString, parseDirObject, readExpectedString, readGenerationNumber, readInt, readLine, readLong, readObjectNumber, readString, readString, readStringNumber, readUntilEndStream, setDocument, skipSpaces
-
Constructor Details
-
VisualSignatureParser
Constructor.- Parameters:
input
- the inputstream to be read.- Throws:
IOException
- If something went wrong
-
-
Method Details
-
parse
This will parse the tokens making up the visual signature.- Throws:
IOException
- If there is an error while parsing the visual signature.
-
getDocument
Returns the underlying COSDocument.- Returns:
- the COSDocument
- Throws:
IOException
- If something went wrong
-