org.semanticdesktop.aperture.extractor.jpg
Class JpgExtractor

java.lang.Object
  extended by org.semanticdesktop.aperture.extractor.jpg.JpgExtractor
All Implemented Interfaces:
Extractor

public class JpgExtractor
extends Object
implements Extractor

Implementation of JPG extractor for Aperture. Only a frontend to fuctionality from classes JpgHeaderExtractor (EXIF, IPTC headers) and JpgContentExtractor (various features on the pictures).

Author:
Manuel Moeller

Constructor Summary
JpgExtractor()
           
 
Method Summary
 void extract(URI id, InputStream stream, Charset charset, String mimeType, RDFContainer result)
          Calls the appropriate methods from JpgHeaderExtractor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpgExtractor

public JpgExtractor()
Method Detail

extract

public void extract(URI id,
                    InputStream stream,
                    Charset charset,
                    String mimeType,
                    RDFContainer result)
             throws ExtractorException
Calls the appropriate methods from JpgHeaderExtractor.

Specified by:
extract in interface Extractor
Parameters:
id - Aperture URI of the current file
stream - InputStream of the current file
charset - irrelevant for images
mimeType - irrelevant for images
result - RDFContainer holding the results
Throws:
ExtractorException - in case of any error during the extraction process.


Copyright © 2010 Aperture Development Team. All Rights Reserved.