Class HeifHandler<T extends HeifDirectory>

    • Constructor Detail

      • HeifHandler

        public HeifHandler​(Metadata metadata)
    • Method Detail

      • getDirectory

        protected abstract T getDirectory()
      • shouldAcceptBox

        protected abstract boolean shouldAcceptBox​(Box box)
      • shouldAcceptContainer

        protected abstract boolean shouldAcceptContainer​(Box box)
      • processBox

        protected abstract HeifHandler<?> processBox​(Box box,
                                                     byte[] payload)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • processContainer

        protected abstract void processContainer​(Box box,
                                                 SequentialReader reader)
                                          throws java.io.IOException
        There is potential for a box to both contain other boxes and contain information, so this method will handle those occurrences.
        Throws:
        java.io.IOException