| |
|
| java.lang.Object org.pdfbox.examples.pdmodel.PrintDocumentMetaData
PrintDocumentMetaData | public class PrintDocumentMetaData (Code) | | This is an example on how to get a documents metadata information.
Usage: java org.pdfbox.examples.pdmodel.PrintDocumentMetaData <input-pdf>
author: Ben Litchfield version: $Revision: 1.11 $ |
Method Summary | |
public static void | main(String[] args) This will print the documents data. | public void | printMetadata(PDDocument document) This will print the documents data to System.out. |
main | public static void main(String[] args) throws Exception(Code) | | This will print the documents data.
Parameters: args - The command line arguments. throws: Exception - If there is an error parsing the document. |
printMetadata | public void printMetadata(PDDocument document) throws IOException(Code) | | This will print the documents data to System.out.
Parameters: document - The document to get the metadata from. throws: IOException - If there is an error getting the page count. |
|
|
|