org.semanticdesktop.aperture.extractor.mp3
Class MP3FileExtractor

java.lang.Object
  extended by org.semanticdesktop.aperture.extractor.AbstractFileExtractor
      extended by org.semanticdesktop.aperture.extractor.mp3.MP3FileExtractor
All Implemented Interfaces:
FileExtractor

public class MP3FileExtractor
extends AbstractFileExtractor

A file extractor implementation for MP3 files.


Constructor Summary
MP3FileExtractor()
           
 
Method Summary
protected  void performExtraction(URI id, File file, Charset charset, String mimeType, RDFContainer result)
          Extracts ID3 metadata from an MP3 file
 
Methods inherited from class org.semanticdesktop.aperture.extractor.AbstractFileExtractor
extract
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MP3FileExtractor

public MP3FileExtractor()
Method Detail

performExtraction

protected void performExtraction(URI id,
                                 File file,
                                 Charset charset,
                                 String mimeType,
                                 RDFContainer result)
                          throws ExtractorException
Extracts ID3 metadata from an MP3 file

Specified by:
performExtraction in class AbstractFileExtractor
Parameters:
id - the URI of the file
file - the java.io.File instance representing the path to the MP3 file. It is assumed that the file exists and is readable.
charset - ignored in this implementation
mimeType - ignored in this implementation
result - the RDFContainer where the generated triples should be stored
Throws:
ExtractorException


Copyright © 2010 Aperture Development Team. All Rights Reserved.