Class ExtractXMP

java.lang.Object
org.apache.pdfbox.tools.ExtractXMP
All Implemented Interfaces:
Callable<Integer>

public class ExtractXMP extends Object implements Callable<Integer>
Extract the XMP metadata from the document or from a page.
  • Field Details

    • SYSOUT

      private final PrintStream SYSOUT
    • SYSERR

      private final PrintStream SYSERR
    • page

      private int page
    • password

      private String password
    • toConsole

      private boolean toConsole
    • infile

      private File infile
    • outfile

      private File outfile
  • Constructor Details

    • ExtractXMP

      private ExtractXMP()
      Constructor.
  • Method Details

    • main

      public static void main(String[] args)
      Infamous main method.
      Parameters:
      args - Command line arguments, should be one and a reference to a file.
    • call

      public Integer call()
      Starts the xmp extraction.
      Specified by:
      call in interface Callable<Integer>