magoffin.matt.meta.video
Class QuickTimeMetadataResource

java.lang.Object
  extended by magoffin.matt.meta.support.AbstractMetadataResource
      extended by magoffin.matt.meta.support.AbstractEnumMetadataResource<VideoMetadataType>
          extended by magoffin.matt.meta.video.AbstractVideoMetadataResource
              extended by magoffin.matt.meta.video.QuickTimeMetadataResource
All Implemented Interfaces:
MetadataResource, VideoMetadataResource

public class QuickTimeMetadataResource
extends AbstractVideoMetadataResource

MetadataResourceFactory for video metadata using QuickTime.

Version:
$Revision: 3 $ $Date: 2008-12-27 08:09:28 +1300 (Sat, 27 Dec 2008) $
Author:
Matt Magoffin (spamsqr@msqr.us)

Field Summary
 
Fields inherited from class magoffin.matt.meta.support.AbstractMetadataResource
log
 
Constructor Summary
QuickTimeMetadataResource(quicktime.io.QTFile qtFile)
          Construct with a QTFile.
 
Method Summary
protected  void extractMetadata(quicktime.io.QTFile qtFile)
          Extract the video metadata from the QTFile.
 
Methods inherited from class magoffin.matt.meta.video.AbstractVideoMetadataResource
getDurationTime
 
Methods inherited from class magoffin.matt.meta.support.AbstractEnumMetadataResource
addError, addValue, getValue, getValues, setValue, setValues
 
Methods inherited from class magoffin.matt.meta.support.AbstractMetadataResource
addError, addValue, clearValues, getParsedKeys, getParseErrors, getValue, getValueList, getValues, setValue, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface magoffin.matt.meta.video.VideoMetadataResource
getValue, getValues
 
Methods inherited from interface magoffin.matt.meta.MetadataResource
getParsedKeys, getParseErrors, getValue, getValues
 

Constructor Detail

QuickTimeMetadataResource

public QuickTimeMetadataResource(quicktime.io.QTFile qtFile)
Construct with a QTFile.

Parameters:
qtFile - the QTFile
Method Detail

extractMetadata

protected void extractMetadata(quicktime.io.QTFile qtFile)
                        throws quicktime.QTException
Extract the video metadata from the QTFile.

Parameters:
qtFile - the QTFile
Throws:
quicktime.QTException - if an QuickTime error occurs