Package org.apache.pdfbox.pdfparser
Class VisualSignatureParser
- java.lang.Object
-
- org.apache.pdfbox.pdfparser.BaseParser
-
- org.apache.pdfbox.pdfparser.VisualSignatureParser
-
public class VisualSignatureParser extends BaseParser
-
-
Field Summary
-
Fields inherited from class org.apache.pdfbox.pdfparser.BaseParser
DEF, document, ENDOBJ, ENDSTREAM, forceParsing, pdfSource, PROP_PUSHBACK_SIZE
-
-
Constructor Summary
Constructors Constructor Description VisualSignatureParser(java.io.InputStream input)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description COSDocumentgetDocument()Returns the underlying COSDocument.voidparse()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
-
-
-
-
Method Detail
-
parse
public void parse() throws java.io.IOExceptionThis will parse the tokens making up the visual signature.- Throws:
java.io.IOException- If there is an error while parsing the visual signature.
-
getDocument
public COSDocument getDocument() throws java.io.IOException
Returns the underlying COSDocument.- Returns:
- the COSDocument
- Throws:
java.io.IOException- If something went wrong
-
-