|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use PDFException | |
| com.qoppa.pdf | General classes used by different objects throughout the library. |
| com.qoppa.pdfText | jPDFText main classes, used to extract text content from PDF documents. |
| Uses of PDFException in com.qoppa.pdf |
| Subclasses of PDFException in com.qoppa.pdf | |
class |
PDFPermissionException
Exception thrown when there is any permission error. |
| Methods in com.qoppa.pdf that throw PDFException | |
void |
IEmbeddedFile.saveFile(File outFile)
Saves the content of the embedded file to the given output file. |
byte[] |
IEmbeddedFile.getDeflatedContents()
Get the content of the embedded file, deflated. |
int |
IEmbeddedFile.getSize()
Get the size of the file content in bytes. |
void |
IEmbeddedFile.write(OutputStream outStream)
Write the file content to an output stream. |
InputStream |
IEmbeddedFile.getInputStream()
Returns an input stream from which the file contents can be read. |
static DocumentInfo |
DocumentInfo.getDocumentInfo(String fileName,
IPassword passwords)
Static method to get the document information from a document in a file. |
static DocumentInfo |
DocumentInfo.getDocumentInfo(InputStream inStream,
IPassword password)
Static method to get the document information from a document from an InputStream. |
static DocumentInfo |
DocumentInfo.getDocumentInfo(URL url,
IPassword password)
Static method to get the document information from a document from a URL. |
abstract void |
DocumentInfo.setTitle(String title)
Sets the document's title. |
abstract void |
DocumentInfo.setAuthor(String author)
Set the document's author. |
abstract void |
DocumentInfo.setCreationDate(Date creationDate)
Set the document's creation date. |
abstract void |
DocumentInfo.setCreator(String creator)
Set the document's creator. |
abstract void |
DocumentInfo.setKeywords(String keywords)
Set the document's keywords. |
abstract void |
DocumentInfo.setModifiedDate(Date modDate)
Set the document's modified date. |
abstract void |
DocumentInfo.setProducer(String producer)
Set the document's producer. |
abstract void |
DocumentInfo.setSubject(String subject)
Set the document's subject. |
abstract void |
DocumentInfo.setXMPMetadata(String xmpString,
String charsetName)
Sets the XMP metadata block in the document. |
abstract void |
DocumentInfo.setXMPMetadata(byte[] xmpData)
Sets the XMP metadata block in the document. |
abstract void |
DocumentInfo.setCustomProperty(String key,
String value)
Sets a custom application property in the document info for the document. |
void |
Bookmark.addAction(Action action)
Adds an Action to this Bookmark |
Bookmark |
Bookmark.addChildBookmark(String title)
Add a child bookmark. |
Bookmark |
Bookmark.insertChildBookmark(String title,
int index)
Insert a child bookmark at the given index in the node's children. |
void |
Bookmark.removeChildBookmark(int index)
Removes a child bookmark from the bookmark |
| Constructors in com.qoppa.pdf that throw PDFException | |
SigningInformation(String pkcs12File,
String ksPWD,
String entryAlias,
String aliasPWD)
Constructs a SigningInformation object and gets the digital ID from a named PKCS#12 file. |
|
SigningInformation(KeyStore ks,
String entryAlias,
String aliasPWD)
Constructs a SigningInformation object and gets the digital ID from a Java KeyStore object. |
|
| Uses of PDFException in com.qoppa.pdfText |
| Methods in com.qoppa.pdfText that throw PDFException | |
static DocumentInfo |
PDFText.getDocumentInfo(InputStream inStream,
IPassword password)
Returns a DocumentInfo object containing the information section of a PDF document (author, title, etc.) |
String |
PDFText.getText()
Returns the text in the pdf document as a String. |
String |
PDFText.getText(int pageIndex)
Returns text contained in the specified page of the pdf document as a String. |
Vector |
PDFText.getWords()
Returns all words in the pdf document as a Vector of Strings. |
Vector |
PDFText.getWords(int pageIndex)
Returns all words contained in the specified page of the pdf document as a Vector of Strings. |
Vector |
PDFText.getLinesWithPositions(int pageIndex)
Returns position information for all the lines of text in the specified page of the PDF document. |
Vector |
PDFText.getWordsWithPositions(int pageIndex)
Returns position information for all the words in the specified page of the PDF document. |
Vector |
PDFText.findText(int pageIndex,
String searchText,
boolean caseSensitive,
boolean wholeWords)
Searches a page for text and returns a list of TextPosition objects for each of the occurrences of the string in the page. |
void |
PDFText.usePermissionsPassword(String password)
Tells the PDFText object that the permissions password is known, so all permissions are granted. |
| Constructors in com.qoppa.pdfText that throw PDFException | |
PDFText(InputStream inStream,
IPassword password)
Creates a PDFText object from a PDF InputStream. |
|
PDFText(String fileName,
IPassword password)
Loads a PDFText object from a file. |
|
PDFText(URL url,
IPassword password)
Loads a PDFText object from a URL. |
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||