Class AddAnnotations


  • public final class AddAnnotations
    extends java.lang.Object
    Add annotations to pages of a PDF document.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static float INCH  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AddAnnotations()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      private static void showPageNo​(PDDocument document, PDPage page, java.lang.String pageText)  
      • Methods inherited from class java.lang.Object

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

      • AddAnnotations

        private AddAnnotations()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • showPageNo

        private static void showPageNo​(PDDocument document,
                                       PDPage page,
                                       java.lang.String pageText)
                                throws java.io.IOException
        Throws:
        java.io.IOException