org.mmbase.module.lucene.extraction
Class ContentExtractor

java.lang.Object
  extended by org.mmbase.module.lucene.extraction.ContentExtractor

public class ContentExtractor
extends Object

Handles content extraction

Version:
$Id: ContentExtractor.java 35620 2009-06-03 13:46:59Z michiel $
Author:
Wouter Heijke

Constructor Summary
ContentExtractor()
           
 
Method Summary
 void addExtractor(Class clazz, String mimeType)
           
 void addExtractor(Extractor extractor, String mimeType)
           
 void addExtractor(String className)
           
 void addExtractor(String className, String mimeType)
           
 void clear()
           
 Object createObject(Attributes attributes)
           
 Extractor findExtractor(String mimeType)
           
static ContentExtractor getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentExtractor

public ContentExtractor()
Method Detail

getInstance

public static ContentExtractor getInstance()

clear

public void clear()

findExtractor

public Extractor findExtractor(String mimeType)

addExtractor

public void addExtractor(Extractor extractor,
                         String mimeType)

addExtractor

public void addExtractor(Class clazz,
                         String mimeType)
                  throws InstantiationException,
                         IllegalAccessException
Throws:
InstantiationException
IllegalAccessException

addExtractor

public void addExtractor(String className,
                         String mimeType)
                  throws InstantiationException,
                         IllegalAccessException,
                         ClassNotFoundException
Throws:
InstantiationException
IllegalAccessException
ClassNotFoundException

addExtractor

public void addExtractor(String className)

createObject

public Object createObject(Attributes attributes)
                    throws Exception
Throws:
Exception


MMBase 2.0-SNAPSHOT - null