org.apache.tika.parser.microsoft
Class OutlookExtractor

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

public class OutlookExtractor
extends java.lang.Object

Outlook Message Parser.


Constructor Summary
OutlookExtractor(org.apache.poi.poifs.filesystem.NPOIFSFileSystem filesystem, 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
 void parse(XHTMLContentHandler xhtml, Metadata metadata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutlookExtractor

public OutlookExtractor(org.apache.poi.poifs.filesystem.NPOIFSFileSystem filesystem,
                        ParseContext context)
                 throws TikaException
Throws:
TikaException
Method Detail

parse

public void parse(XHTMLContentHandler xhtml,
                  Metadata metadata)
           throws TikaException,
                  org.xml.sax.SAXException,
                  java.io.IOException
Throws:
TikaException
org.xml.sax.SAXException
java.io.IOException

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.