org.mmbase.module.lucene.extraction
Class ContentExtractor
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentExtractor
public ContentExtractor()
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