Lizzy v1.1.1

christophedelory.content
Class SoundMetadataProvider

java.lang.Object
  extended by christophedelory.content.SoundMetadataProvider
All Implemented Interfaces:
ContentMetadataProvider

public class SoundMetadataProvider
extends Object
implements ContentMetadataProvider

A content metadata provider based on the Java Sound API. WAV, AU, AIFF, MIDI and RMF formats are supported.

Since:
1.0.0
Version:
$Revision: 90 $
Author:
Christophe Delory

Constructor Summary
SoundMetadataProvider()
           
 
Method Summary
 void fillMetadata(Content content, Log logger)
          Fills if possible the metadata of the specified content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoundMetadataProvider

public SoundMetadataProvider()
Method Detail

fillMetadata

public void fillMetadata(Content content,
                         Log logger)
                  throws Exception
Description copied from interface: ContentMetadataProvider
Fills if possible the metadata of the specified content.

Specified by:
fillMetadata in interface ContentMetadataProvider
Parameters:
content - a content. Shall not be null.
logger - the logger that may be used during the metadata extraction process, if needed. Shall not be null.
Throws:
NullPointerException - if content is null.
Exception - if any error occurs.
See Also:
ContentMetadataCenter.fillMetadata(christophedelory.content.Content)

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.