Class ExtractXMP

java.lang.Object
org.apache.pdfbox.tools.ExtractXMP

public class ExtractXMP extends Object
Extract the XMP metadata from the document or from a page.
  • Field Details

  • Constructor Details

    • ExtractXMP

      public ExtractXMP()
      private constructor.
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      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

      public void startExtraction(String[] args) throws IOException
      Throws:
      IOException
    • usage

      private static void usage()
      This will print the usage requirements and exit.