public class PrintDocumentMetaData extends Object
Constructor and Description |
---|
PrintDocumentMetaData() |
Modifier and Type | Method and Description |
---|---|
static void |
main(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(String[] args) throws IOException
args
- The command line arguments.IOException
- If there is an error parsing the document.public void printMetadata(PDDocument document) throws IOException
document
- The document to get the metadata from.IOException
- If there is an error getting the page count.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.