org.apache.slide.extractor
Class OfficeExtractor

java.lang.Object
  extended byorg.apache.slide.extractor.AbstractPropertyExtractor
      extended byorg.apache.slide.extractor.OfficeExtractor
All Implemented Interfaces:
Configurable, Extractor, PropertyExtractor

public class OfficeExtractor
extends AbstractPropertyExtractor
implements Configurable

The OfficeExtractor class


Nested Class Summary
(package private)  class OfficeExtractor.OfficePropertiesListener
           
 
Field Summary
protected  java.util.List instructions
           
protected  java.util.Map propertyMap
           
 
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 org.apache.slide.extractor.AbstractPropertyExtractor
getContentType, getNamespace, getUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instructions

protected java.util.List instructions

propertyMap

protected java.util.Map propertyMap
Constructor Detail

OfficeExtractor

public OfficeExtractor(java.lang.String uri,
                       java.lang.String contentType,
                       java.lang.String namespace)
Method Detail

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