A C E G K M O P R S U 

A

addImage(String) - Method in class com.asprise.util.pdf.PDFImageWriter
Adds the given image as a PDF page.
addImage(String, String) - Method in class com.asprise.util.pdf.PDFImageWriter
Adds the given image as a PDF page.
addImage(File) - Method in class com.asprise.util.pdf.PDFImageWriter
Adds the given image as a PDF page.
addImage(File, String) - Method in class com.asprise.util.pdf.PDFImageWriter
Adds the given image as a PDF page.
addImage(Image) - Method in class com.asprise.util.pdf.PDFImageWriter
Adds the given image as a PDF page.

C

close() - Method in class com.asprise.util.pdf.PDFImageWriter
Signal the writer to write content to the target output stream and close the writer.
close() - Method in class com.asprise.util.pdf.PDFReader
Closes the PDF and releases resources used.
com.asprise.util.pdf - package com.asprise.util.pdf

E

extractTextFromPage(int) - Method in class com.asprise.util.pdf.PDFReader
Extracts text from the specified page.

G

getNumberOfPages() - Method in class com.asprise.util.pdf.PDFReader
Returns the total number of pages in the PDF.
getPageAsImage(int) - Method in class com.asprise.util.pdf.PDFReader
Renders the specified page at 200 DPI as a buffered image.
getPageAsImage(int, int) - Method in class com.asprise.util.pdf.PDFReader
Renders the specified page as a buffered image.
getPageSize(int) - Method in class com.asprise.util.pdf.PDFReader
Returns the page size of the specified page.
getPdfSecurityObject() - Method in class com.asprise.util.pdf.PDFImageWriter
Returns the PDF security object used.
getSecurityObject() - Method in class com.asprise.util.pdf.PDFReader
Returns the security object.
getTemporaryDirectory() - Static method in class com.asprise.util.pdf.Util
Returns a suitable temporary directory or null if it fails.
getUniqueFileName(String, File) - Static method in class com.asprise.util.pdf.Util
Returns a suitable unique file name under the specified directory.

K

keyLength - Variable in class com.asprise.util.pdf.PDFSecurityObject
length of key, valid values are 40 (default) and 128.

M

main(String[]) - Static method in class com.asprise.util.pdf.PDFImageWriter
A utility that save images into PDF file.
main(String[]) - Static method in class com.asprise.util.pdf.PDFReader
A utility that extract text from a PDF file.

O

open() - Method in class com.asprise.util.pdf.PDFImageWriter
Opens the writer for adding contents.
open() - Method in class com.asprise.util.pdf.PDFReader
Opens and parses the pdf content.
open(String) - Method in class com.asprise.util.pdf.PDFReader
Opens and parses the pdf content.
ownerPassword - Variable in class com.asprise.util.pdf.PDFSecurityObject
owner's password - used to modify PDF file.

P

PDFImageWriter - Class in com.asprise.util.pdf
An easy-to-use utility class that can create PDF document from images.
PDFImageWriter(OutputStream) - Constructor for class com.asprise.util.pdf.PDFImageWriter
Creates a writer with the specified target output stream.
PDFReader - Class in com.asprise.util.pdf
Represents a PDF reader with image rendering and text extraction feature.
PDFReader(InputStream) - Constructor for class com.asprise.util.pdf.PDFReader
Creates a new PDF reader with the specified stream as the input.
PDFReader(File) - Constructor for class com.asprise.util.pdf.PDFReader
Creates a new PDF reader for the given PDF file.
PDFSecurityObject - Class in com.asprise.util.pdf
Used to set PDF security.
PDFSecurityObject() - Constructor for class com.asprise.util.pdf.PDFSecurityObject
 
permissions - Variable in class com.asprise.util.pdf.PDFSecurityObject
The permissions can be Printing, Copy, ModifyContents, ModifyAnnotations, FillIn, ScreenReaders, Assembly and DegradedPrinting.

R

remove(File) - Static method in class com.asprise.util.pdf.Util
Removes the specified file or directory.

S

saveImagesToPDF(File[], File) - Static method in class com.asprise.util.pdf.PDFImageWriter
Saves the given images into the specified PDF file.
saveImagesToPDF(Image[], File) - Static method in class com.asprise.util.pdf.PDFImageWriter
Saves the given images into the specified PDF file.
savePageAsImageFile(int, String, File) - Method in class com.asprise.util.pdf.PDFReader
Saves the specified page as an image file with the given format.
setPDFSecurityObject(PDFSecurityObject) - Method in class com.asprise.util.pdf.PDFImageWriter
Sets the PDF security to be used - you need to set security object before close() otherwise it will be ignored.
setSecurityObject(PDFSecurityObject) - Method in class com.asprise.util.pdf.PDFReader
If the PDF is encrypted, you need to supply a security object to 'unlock' the PDF before open().

U

userPassword - Variable in class com.asprise.util.pdf.PDFSecurityObject
user's password - used to read PDF file.
Util - Class in com.asprise.util.pdf
 
Util() - Constructor for class com.asprise.util.pdf.Util
 
A C E G K M O P R S U