Class AddMetadataFromDocInfo


  • public final class AddMetadataFromDocInfo
    extends java.lang.Object
    This is an example on how to add metadata to a document.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      This will print the documents data.
      private static void usage()
      This will print the usage for this document.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AddMetadataFromDocInfo

        private AddMetadataFromDocInfo()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException,
                                javax.xml.transform.TransformerException
        This will print the documents data.
        Parameters:
        args - The command line arguments.
        Throws:
        java.io.IOException - If there is an error parsing the document.
        javax.xml.transform.TransformerException
      • usage

        private static void usage()
        This will print the usage for this document.