Package com.drew.metadata.mov
Class QuickTimeMediaHandler<T extends QuickTimeDirectory>
java.lang.Object
com.drew.imaging.quicktime.QuickTimeHandler<T>
com.drew.metadata.mov.QuickTimeMediaHandler<T>
- Direct Known Subclasses:
QuickTimeMusicHandler,QuickTimeSoundHandler,QuickTimeSubtitleHandler,QuickTimeTextHandler,QuickTimeTimecodeHandler,QuickTimeVideoHandler
public abstract class QuickTimeMediaHandler<T extends QuickTimeDirectory>
extends QuickTimeHandler<T>
Classes that extend this class should be from the media dat atom types:
https://developer.apple.com/library/content/documentation/QuickTime/QTFF/QTFFChap3/qtff3.html#//apple_ref/doc/uid/TP40000939-CH205-SW1
-
Field Summary
Fields inherited from class com.drew.imaging.quicktime.QuickTimeHandler
directory, metadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringprocessAtom(Atom atom, byte[] payload, QuickTimeContext context) protected abstract voidprocessMediaInformation(SequentialReader reader, Atom atom) protected abstract voidprocessSampleDescription(SequentialReader reader, Atom atom) protected abstract voidprocessTimeToSample(SequentialReader reader, Atom atom, QuickTimeContext context) booleanshouldAcceptAtom(Atom atom) booleanshouldAcceptContainer(Atom atom) Methods inherited from class com.drew.imaging.quicktime.QuickTimeHandler
addError, createDirectory, processContainer
-
Constructor Details
-
QuickTimeMediaHandler
-
-
Method Details
-
shouldAcceptAtom
- Specified by:
shouldAcceptAtomin classQuickTimeHandler<T extends QuickTimeDirectory>
-
shouldAcceptContainer
- Specified by:
shouldAcceptContainerin classQuickTimeHandler<T extends QuickTimeDirectory>
-
processAtom
public QuickTimeMediaHandler<?> processAtom(Atom atom, byte[] payload, QuickTimeContext context) throws IOException - Specified by:
processAtomin classQuickTimeHandler<T extends QuickTimeDirectory>- Throws:
IOException
-
getMediaInformation
-
processSampleDescription
protected abstract void processSampleDescription(SequentialReader reader, Atom atom) throws IOException - Throws:
IOException
-
processMediaInformation
protected abstract void processMediaInformation(SequentialReader reader, Atom atom) throws IOException - Throws:
IOException
-
processTimeToSample
protected abstract void processTimeToSample(SequentialReader reader, Atom atom, QuickTimeContext context) throws IOException - Throws:
IOException
-