Class VeraPdfValidatorApp

java.lang.Object
com.itextpdf.test.runtime.VeraPdfValidatorApp

public class VeraPdfValidatorApp extends Object
This class is a simple HTTP server that can be used to validate PDF files using VeraPDF. It can be started in two modes: - CLI mode: `java -jar VeraPdfValidatorApp.jar cli "b64encoded path to pdf"` - Server mode: `java -jar VeraPdfValidatorApp.jar server "port"`
  • Method Details

    • main

      public static void main (String[] args) throws IOException
      Main method to run the application.
      Parameters:
      args - the arguments to use.
      Throws:
      IOException - if an I/O error occurs.
    • run

      public void run() throws IOException
      Run the application based on the provided arguments.
      Throws:
      IOException - if an I/O error occurs.