Class ExtractMetadata

java.lang.Object
org.apache.pdfbox.examples.pdmodel.ExtractMetadata

public final class ExtractMetadata extends Object
This is an example on how to extract metadata from a PDF document.
  • Method Details

    • main

      public static void main(String[] args) throws IOException, org.apache.xmpbox.xml.XmpParsingException, org.apache.xmpbox.type.BadFieldValueException
      This is the main method.
      Parameters:
      args - The command line arguments.
      Throws:
      IOException - If there is an error parsing the document.
      org.apache.xmpbox.xml.XmpParsingException
      org.apache.xmpbox.type.BadFieldValueException