Class PdfAConformanceChecker

java.lang.Object
com.itextpdf.pdfoptimizer.util.PdfAConformanceChecker

public final class PdfAConformanceChecker extends Object
Class to check PDF-A conformance level for documents.
  • Method Details

    • isPdfADocument

      public static boolean isPdfADocument (com.itextpdf.kernel.pdf.PdfDocument document)
      Check is specific document has any PDF-A conformance.
      Parameters:
      document - to check it's PDF-A conformance
      Returns:
      true if it's PDF-A document, otherwise false.
    • isPdfA1Document

      public static boolean isPdfA1Document (com.itextpdf.kernel.pdf.PdfDocument document)
      Check is specific document has PDF-A1 conformance.
      Parameters:
      document - to check it's PDF-A1 conformance
      Returns:
      true if it's PDF-A1 document, otherwise false.