Uses of Class
com.sun.pdfview.PDFParseException
-
Packages that use PDFParseException Package Description com.sun.pdfview com.sun.pdfview.decode com.sun.pdfview.decrypt -
-
Uses of PDFParseException in com.sun.pdfview
Methods in com.sun.pdfview that throw PDFParseException Modifier and Type Method Description void
PDFTextFormat. doText(PDFPage cmds, java.lang.Object[] ary)
add some text to the page.private java.lang.Object
PDFParser. parseObject()
Parse the next object out of the PDF stream.private java.lang.Object[]
PDFParser. popArray()
pop an array off the stackprivate float
PDFParser. popFloat()
pop a single float value off the stack.private float[]
PDFParser. popFloat(int count)
pop an array of float values off the stack.private float[]
PDFParser. popFloatArray()
pop an array of integer values off the stack.private int
PDFParser. popInt()
pop a single integer value off the stack.private PDFObject
PDFParser. popObject()
pop a PDFObject off the stack.private java.lang.String
PDFParser. popString()
pop a String off the stack.Constructors in com.sun.pdfview that throw PDFParseException Constructor Description PDFObject(java.lang.Object obj)
create a new PDFObject that is the closest match to a given Java object. -
Uses of PDFParseException in com.sun.pdfview.decode
Methods in com.sun.pdfview.decode that throw PDFParseException Modifier and Type Method Description private java.nio.ByteBuffer
ASCII85Decode. decode()
decode the bytesstatic java.nio.ByteBuffer
ASCII85Decode. decode(java.nio.ByteBuffer buf, PDFObject params)
decode an array of bytes in ASCII85 format.private java.nio.ByteBuffer
ASCIIHexDecode. decode()
decode the arraystatic java.nio.ByteBuffer
ASCIIHexDecode. decode(java.nio.ByteBuffer buf, PDFObject params)
decode an array of bytes in ASCIIHex format.protected static java.nio.ByteBuffer
DCTDecode. decode(PDFObject dict, java.nio.ByteBuffer buf, PDFObject params)
decode an array of bytes in DCT format.private java.nio.ByteBuffer
LZWDecode. decode()
decode the array.private java.nio.ByteBuffer
RunLengthDecode. decode()
decode the arraystatic java.nio.ByteBuffer
RunLengthDecode. decode(java.nio.ByteBuffer buf, PDFObject params)
decode an array of bytes in RunLength format.private boolean
ASCII85Decode. decode5(java.io.ByteArrayOutputStream baos)
decode the next five ASCII85 characters into up to four decoded bytes.private int
ASCIIHexDecode. readHexDigit()
get the next character from the inputConstructors in com.sun.pdfview.decode that throw PDFParseException Constructor Description LZWDecode(java.nio.ByteBuffer buf)
initialize this decoder with an array of encoded bytes -
Uses of PDFParseException in com.sun.pdfview.decrypt
Subclasses of PDFParseException in com.sun.pdfview.decrypt Modifier and Type Class Description class
PDFAuthenticationFailureException
Identifies that the supplied password was incorrect or non-existent and required.Methods in com.sun.pdfview.decrypt that throw PDFParseException Modifier and Type Method Description private void
StandardDecrypter. checkNums(int objNum, int objGen)
Check that object number and object generations are well-formed.private byte[]
StandardDecrypter. checkOwnerPassword(byte[] ownerPassword, byte[] firstDocIdValue, int keyBitLength, int revision, byte[] oValue, byte[] uValue, int pValue, boolean encryptMetadata)
Check to see whether a given password is the owner password.private byte[]
StandardDecrypter. checkUserPassword(byte[] userPassword, byte[] firstDocIdValue, int keyBitLength, int revision, byte[] oValue, byte[] uValue, int pValue, boolean encryptMetadata)
Check to see whether a provided user password is correct with respect to an Encrypt dict configuration.private javax.crypto.Cipher
StandardDecrypter. createAndInitialiseContentCipher(java.nio.ByteBuffer encrypted, byte[] decryptionKeyBytes)
Setup the cipher for decryptionjava.nio.ByteBuffer
CryptFilterDecrypter. decryptBuffer(java.lang.String cryptFilterName, PDFObject streamObj, java.nio.ByteBuffer streamBuf)
java.nio.ByteBuffer
IdentityDecrypter. decryptBuffer(java.lang.String cryptFilterName, PDFObject streamObj, java.nio.ByteBuffer streamBuf)
java.nio.ByteBuffer
PDFDecrypter. decryptBuffer(java.lang.String cryptFilterName, PDFObject streamObj, java.nio.ByteBuffer streamBuf)
Decrypt a buffer of datajava.nio.ByteBuffer
StandardDecrypter. decryptBuffer(java.lang.String cryptFilterName, PDFObject streamObj, java.nio.ByteBuffer streamBuf)
private java.nio.ByteBuffer
StandardDecrypter. decryptBuffer(java.nio.ByteBuffer encrypted, byte[] decryptionKeyBytes)
Decrypt a bufferjava.lang.String
CryptFilterDecrypter. decryptString(int objNum, int objGen, java.lang.String inputBasicString)
java.lang.String
PDFDecrypter. decryptString(int objNum, int objGen, java.lang.String inputBasicString)
Decrypt abasic string
.java.lang.String
StandardDecrypter. decryptString(int objNum, int objGen, java.lang.String inputBasicString)
private byte[]
StandardDecrypter. getObjectSaltedDecryptionKey(int objNum, int objGen)
Get a decryption key salted with an object number and object generation, for use when decrypting a string or stream within an object numbered soprivate void
StandardDecrypter. testJceAvailability(int keyBitLength)
Test that the platform (i.e., the JCE) can offer us all of the ciphers at the key length we need for content decryption.Constructors in com.sun.pdfview.decrypt that throw PDFParseException Constructor Description CryptFilterDecrypter(java.util.Map<java.lang.String,PDFDecrypter> decrypters, java.lang.String defaultStreamCryptName, java.lang.String defaultStringCryptName)
Class constructor
-