org.apache.slide.extractor
Class OfficeExtractor
java.lang.Object
org.apache.slide.extractor.AbstractPropertyExtractor
org.apache.slide.extractor.OfficeExtractor
- All Implemented Interfaces:
- Configurable, Extractor, PropertyExtractor
- public class OfficeExtractor
- extends AbstractPropertyExtractor
- implements Configurable
The OfficeExtractor class
Constructor Summary |
OfficeExtractor(java.lang.String uri,
java.lang.String contentType,
java.lang.String namespace)
|
Method Summary |
void |
configure(Configuration configuration)
|
java.util.Map |
extract(java.io.InputStream content)
Will be called before content and properties are stored
?Gets extracted property value from the resource, for example "author"
?for a word doc, ... |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instructions
protected java.util.List instructions
propertyMap
protected java.util.Map propertyMap
OfficeExtractor
public OfficeExtractor(java.lang.String uri,
java.lang.String contentType,
java.lang.String namespace)
extract
public java.util.Map extract(java.io.InputStream content)
throws ExtractorException
- Description copied from interface:
PropertyExtractor
- Will be called before content and properties are stored
?Gets extracted property value from the resource, for example "author"
?for a word doc, ...
- Specified by:
extract
in interface PropertyExtractor
- Specified by:
extract
in class AbstractPropertyExtractor
- Throws:
ExtractorException
configure
public void configure(Configuration configuration)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException