Class Conformance


  • public class Conformance
    extends java.lang.Object
    The conformance of a PDF document
    • Constructor Detail

      • Conformance

        public Conformance​(Conformance.Version version)
        Create a new conformance for a specific PDF version.
    • Method Detail

      • getPdfA

        public Conformance.PdfAVersion getPdfA()
        The the PDF/A version attributes of this conformance
        Returns:
        null for non PDF/A conformances. The PDF/A version otherwise.
      • conformsTo

        public boolean conformsTo​(Conformance other)
        Check if this conformance conforms to another.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • parse

        public static Conformance parse​(java.lang.String conformance)
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object