public class HeifBoxHandler extends HeifHandler<HeifDirectory>
Constructor and Description |
---|
HeifBoxHandler(Metadata metadata) |
Modifier and Type | Method and Description |
---|---|
HeifHandler<?> |
processBox(Box box,
byte[] payload) |
void |
processContainer(Box box,
SequentialReader reader)
There is potential for a box to both contain other boxes and contain information, so this method will
handle those occurrences.
|
boolean |
shouldAcceptBox(Box box) |
boolean |
shouldAcceptContainer(Box box) |
public HeifBoxHandler(Metadata metadata)
public boolean shouldAcceptBox(Box box)
public boolean shouldAcceptContainer(Box box)
public HeifHandler<?> processBox(Box box, byte[] payload) throws IOException
IOException
public void processContainer(Box box, SequentialReader reader) throws IOException
HeifHandler
IOException
Copyright © 2002-2020 Drew Noakes. All Rights Reserved.