org.apache.tika.parser.microsoft
Class HSLFExtractor

java.lang.Object
  extended by org.apache.tika.parser.microsoft.HSLFExtractor

public class HSLFExtractor
extends java.lang.Object


Constructor Summary
HSLFExtractor(ParseContext context)
           
 
Method Summary
protected  void copy(org.apache.poi.poifs.filesystem.DirectoryEntry sourceDir, org.apache.poi.poifs.filesystem.DirectoryEntry destDir)
           
protected  void handleEmbeddedResource(TikaInputStream resource, java.lang.String filename, java.lang.String mediaType, XHTMLContentHandler xhtml, boolean outputHtml)
           
protected  void handleEmbededOfficeDoc(org.apache.poi.poifs.filesystem.DirectoryEntry dir, XHTMLContentHandler xhtml)
          Handle an office document that's embedded at the POIFS level
protected  void parse(org.apache.poi.poifs.filesystem.NPOIFSFileSystem filesystem, XHTMLContentHandler xhtml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HSLFExtractor

public HSLFExtractor(ParseContext context)
Method Detail

parse

protected void parse(org.apache.poi.poifs.filesystem.NPOIFSFileSystem filesystem,
                     XHTMLContentHandler xhtml)
              throws java.io.IOException,
                     org.xml.sax.SAXException,
                     TikaException
Throws:
java.io.IOException
org.xml.sax.SAXException
TikaException

handleEmbeddedResource

protected void handleEmbeddedResource(TikaInputStream resource,
                                      java.lang.String filename,
                                      java.lang.String mediaType,
                                      XHTMLContentHandler xhtml,
                                      boolean outputHtml)
                               throws java.io.IOException,
                                      org.xml.sax.SAXException,
                                      TikaException
Throws:
java.io.IOException
org.xml.sax.SAXException
TikaException

handleEmbededOfficeDoc

protected void handleEmbededOfficeDoc(org.apache.poi.poifs.filesystem.DirectoryEntry dir,
                                      XHTMLContentHandler xhtml)
                               throws java.io.IOException,
                                      org.xml.sax.SAXException,
                                      TikaException
Handle an office document that's embedded at the POIFS level

Throws:
java.io.IOException
org.xml.sax.SAXException
TikaException

copy

protected void copy(org.apache.poi.poifs.filesystem.DirectoryEntry sourceDir,
                    org.apache.poi.poifs.filesystem.DirectoryEntry destDir)
             throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.