Package org.apache.pdfbox.tools
Class ExtractXMP
java.lang.Object
org.apache.pdfbox.tools.ExtractXMP
Extract the XMP metadata from the document or from a page.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Infamous main method.void
startExtraction
(String[] args) private static void
usage()
This will print the usage requirements and exit.
-
Field Details
-
PASSWORD
- See Also:
-
CONSOLE
- See Also:
-
PAGE
- See Also:
-
-
Constructor Details
-
ExtractXMP
public ExtractXMP()private constructor.
-
-
Method Details
-
main
Infamous main method.- Parameters:
args
- Command line arguments, should be one and a reference to a file.- Throws:
IOException
- if there is an error reading the document or extracting the XMP data.
-
startExtraction
- Throws:
IOException
-
usage
private static void usage()This will print the usage requirements and exit.
-