Class TNEFParser

java.lang.Object
org.apache.tika.parser.AbstractParser
org.apache.tika.parser.microsoft.TNEFParser
All Implemented Interfaces:
Serializable, org.apache.tika.parser.Parser

public class TNEFParser extends org.apache.tika.parser.AbstractParser
A POI-powered Tika Parser for TNEF (Transport Neutral Encoding Format) messages, aka winmail.dat
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<org.apache.tika.mime.MediaType>
    getSupportedTypes(org.apache.tika.parser.ParseContext context)
     
    void
    parse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context)
    Extracts properties and text from an MS Document input stream

    Methods inherited from class org.apache.tika.parser.AbstractParser

    parse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TNEFParser

      public TNEFParser()
  • Method Details

    • getSupportedTypes

      public Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)
    • parse

      public void parse(InputStream stream, ContentHandler handler, org.apache.tika.metadata.Metadata metadata, org.apache.tika.parser.ParseContext context) throws IOException, SAXException, org.apache.tika.exception.TikaException
      Extracts properties and text from an MS Document input stream
      Throws:
      IOException
      SAXException
      org.apache.tika.exception.TikaException