public class PrintDocumentMetaData
extends java.lang.Object
Constructor and Description |
---|
PrintDocumentMetaData() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
This will print the documents data.
|
void |
printMetadata(PDDocument document)
This will print the documents data to System.out.
|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line arguments.java.lang.Exception
- If there is an error parsing the document.public void printMetadata(PDDocument document) throws java.io.IOException
document
- The document to get the metadata from.java.io.IOException
- If there is an error getting the page count.