Class VeraPdfValidator

java.lang.Object
com.itextpdf.test.pdfa.VeraPdfValidator

public class VeraPdfValidator extends Object
  • Constructor Details

    • VeraPdfValidator

      public VeraPdfValidator()
  • Method Details

    • getSpecification

      protected org.verapdf.pdfa.flavours.PDFAFlavour getSpecification()
      Returns:
      the PDFAFlavour to use for validation
    • validateFailure

      public void validateFailure (String filePath)
      Validates PDF file with VeraPdf expecting failure.
      Parameters:
      filePath - file to validate
    • validateWarning

      public void validateWarning (String filePath, String expectedWarning)
      Validates PDF file with VeraPdf expecting a warning.
      Parameters:
      filePath - file to validate
      expectedWarning - expected VeraPdf warning
    • validate

      public String validate (String filePath)