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