magoffin.matt.meta.audio
Class ID3MetadataResourceFactory

java.lang.Object
  extended by magoffin.matt.meta.audio.ID3MetadataResourceFactory
All Implemented Interfaces:
MetadataResourceFactory

public class ID3MetadataResourceFactory
extends java.lang.Object
implements MetadataResourceFactory

MetadataResourceFactory for ID3 metadata, eg. MP3 audio.

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

Field Summary
static java.lang.String ISO_8859_1_CHARSET
          The Java ISO-8859-1 Charset name.
 
Constructor Summary
ID3MetadataResourceFactory()
           
 
Method Summary
 MetadataResource getMetadataResourceInstance(java.io.File file)
          Get a MetadataResource for a given file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ISO_8859_1_CHARSET

public static final java.lang.String ISO_8859_1_CHARSET
The Java ISO-8859-1 Charset name.

See Also:
Constant Field Values
Constructor Detail

ID3MetadataResourceFactory

public ID3MetadataResourceFactory()
Method Detail

getMetadataResourceInstance

public MetadataResource getMetadataResourceInstance(java.io.File file)
                                             throws java.io.IOException,
                                                    MetadataNotSupportedException
Description copied from interface: MetadataResourceFactory
Get a MetadataResource for a given file.

Specified by:
getMetadataResourceInstance in interface MetadataResourceFactory
Parameters:
file - the file
Returns:
the MetadataResource
Throws:
java.io.IOException - if an IO error occurs
MetadataNotSupportedException - if the file is not supported for any reason