magoffin.matt.meta.video
Class AbstractVideoMetadataResource

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
All Implemented Interfaces:
MetadataResource, VideoMetadataResource
Direct Known Subclasses:
JMFMetadataResource, QuickTimeMetadataResource

public abstract class AbstractVideoMetadataResource
extends AbstractEnumMetadataResource<VideoMetadataType>
implements VideoMetadataResource

Abstract implementation of VideoMetadataResource.

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
AbstractVideoMetadataResource()
           
 
Method Summary
protected  java.lang.String getDurationTime(long ms)
          Get a time duration value from a duration value.
 
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

AbstractVideoMetadataResource

public AbstractVideoMetadataResource()
Method Detail

getDurationTime

protected java.lang.String getDurationTime(long ms)
Get a time duration value from a duration value.

Parameters:
ms - the duration, in milliseconds
Returns:
the duration, as a hh:mm:ss.SSS string