magoffin.matt.meta.video
Interface VideoMetadataResource

All Superinterfaces:
MetadataResource
All Known Implementing Classes:
AbstractVideoMetadataResource, JMFMetadataResource, QuickTimeMetadataResource

public interface VideoMetadataResource
extends MetadataResource

API for video resources.

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

Method Summary
 java.lang.Object getValue(VideoMetadataType type, java.util.Locale locale)
          Get a single metadata value based on a type constant.
 java.lang.Iterable<?> getValues(VideoMetadataType type, java.util.Locale locale)
          Get all available metadata values based on a type constant.
 
Methods inherited from interface magoffin.matt.meta.MetadataResource
getParsedKeys, getParseErrors, getValue, getValues
 

Method Detail

getValue

java.lang.Object getValue(VideoMetadataType type,
                          java.util.Locale locale)
Get a single metadata value based on a type constant.

If more than one metadata of the specified type is available, this will return the first available one.

Parameters:
type - the type
locale - a Locale
Returns:
the value, or null if not available

getValues

java.lang.Iterable<?> getValues(VideoMetadataType type,
                                java.util.Locale locale)
Get all available metadata values based on a type constant.

Parameters:
type - the type
locale - a Locale
Returns:
iterable for all values, never null