Class HeifHandler<T extends HeifDirectory>

java.lang.Object
com.drew.imaging.heif.HeifHandler<T>
Direct Known Subclasses:
HeifBoxHandler, HeifPictureHandler

public abstract class HeifHandler<T extends HeifDirectory> extends Object
  • Field Details

  • Constructor Details

    • HeifHandler

      public HeifHandler(Metadata metadata)
  • Method Details

    • 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 IOException
      Throws:
      IOException
    • processContainer

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