org.pdfbox.examples.pdmodel
Class AddMetadataFromDocInfo

java.lang.Object
  extended by org.pdfbox.examples.pdmodel.AddMetadataFromDocInfo

public class AddMetadataFromDocInfo
extends java.lang.Object

This is an example on how to add metadata to a document. Usage: java org.pdfbox.examples.pdmodel.AddMetadataToDocument <input-pdf> <output-pdf>

Version:
$Revision: 1.3 $
Author:
Ben Litchfield

Method Summary
static void main(java.lang.String[] args)
          This will print the documents data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
This will print the documents data.

Parameters:
args - The command line arguments.
Throws:
java.lang.Exception - If there is an error parsing the document.