Class PdfUA2EmbeddedFilesChecker


  • public final class PdfUA2EmbeddedFilesChecker
    extends java.lang.Object
    Utility class which performs the EmbeddedFiles name tree check according to PDF/UA-2 specification.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void checkEmbeddedFiles​(PdfCatalog catalog)
      Verify the conformity of the EmbeddedFiles name tree.
      private static void checkFileSpec​(PdfObject obj)
      Verify the conformity of the file specification dictionary.
      • Methods inherited from class java.lang.Object

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

      • PdfUA2EmbeddedFilesChecker

        private PdfUA2EmbeddedFilesChecker()
    • Method Detail

      • checkEmbeddedFiles

        public static void checkEmbeddedFiles​(PdfCatalog catalog)
        Verify the conformity of the EmbeddedFiles name tree.
        Parameters:
        catalog - PdfCatalog document catalog dictionary
      • checkFileSpec

        private static void checkFileSpec​(PdfObject obj)
        Verify the conformity of the file specification dictionary.
        Parameters:
        obj - the PdfDictionary containing file specification to be checked