Class Main


  • public class Main
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Main()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void execute​(Config config)  
      static void main​(java.lang.String[] args)  
      static Config parseArgs​(java.lang.String[] args)  
      static void stampBackground​(com.itextpdf.text.pdf.PdfReader reader, com.itextpdf.text.pdf.PdfStamper stamper, java.lang.String signature, boolean isStamp)  
      • Methods inherited from class java.lang.Object

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

      • Main

        public Main()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • parseArgs

        public static Config parseArgs​(java.lang.String[] args)
                                throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • execute

        public static void execute​(Config config)
                            throws java.io.IOException,
                                   com.itextpdf.text.DocumentException
        Throws:
        java.io.IOException
        com.itextpdf.text.DocumentException
      • stampBackground

        public static void stampBackground​(com.itextpdf.text.pdf.PdfReader reader,
                                           com.itextpdf.text.pdf.PdfStamper stamper,
                                           java.lang.String signature,
                                           boolean isStamp)
                                    throws java.io.IOException,
                                           com.itextpdf.text.DocumentException
        Throws:
        java.io.IOException
        com.itextpdf.text.DocumentException