org.semanticdesktop.aperture.extractor.xmp
Class XMPExtractorFactory

java.lang.Object
  extended by org.semanticdesktop.aperture.extractor.xmp.XMPExtractorFactory
All Implemented Interfaces:
ExtractorFactory

public class XMPExtractorFactory
extends Object
implements ExtractorFactory

The ExtractorFactory for the XMPExtractor. This factory supports the folloing media types:

A few caveats: When using a Crawler, Adobe Illustrator files are mistaken for PDF files, which leads to an invalid file type error by the PdfExtractor. The XMPExtractor works fine with PDF and Illustrator files. Adobe InDesign files do not currently work and Flash files have not been tested yet.

Version:
$Revision: 1.1 $
Author:
Ryan J. McDonough

Constructor Summary
XMPExtractorFactory()
           
 
Method Summary
 Extractor get()
          Returns an instance of the represented Extractor implementation.
 Set<String> getSupportedMimeTypes()
          Returns the MIME types of the formats supported by the returned Extractor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMPExtractorFactory

public XMPExtractorFactory()
Method Detail

get

public Extractor get()
Description copied from interface: ExtractorFactory
Returns an instance of the represented Extractor implementation. Subsequent invocations may or may not return the same instance.

Specified by:
get in interface ExtractorFactory
Returns:
An instance of the Extractor interface.

getSupportedMimeTypes

public Set<String> getSupportedMimeTypes()
Description copied from interface: ExtractorFactory
Returns the MIME types of the formats supported by the returned Extractor.

Specified by:
getSupportedMimeTypes in interface ExtractorFactory
Returns:
A Set of Strings.


Copyright © 2010 Aperture Development Team. All Rights Reserved.