Class MIFParser

java.lang.Object
org.apache.tika.parser.AbstractParser
org.apache.tika.parser.AbstractEncodingDetectorParser
org.apache.tika.parser.mif.MIFParser
All Implemented Interfaces:
Serializable, org.apache.tika.parser.Parser

public class MIFParser extends org.apache.tika.parser.AbstractEncodingDetectorParser
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    MIFParser(org.apache.tika.detect.EncodingDetector encodingDetector)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getContentHandler(ContentHandler handler, org.apache.tika.metadata.Metadata metadata)
    Get the content handler to use.
    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)
     

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

    getEncodingDetector, getEncodingDetector, setEncodingDetector

    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

    • MIFParser

      public MIFParser()
    • MIFParser

      public MIFParser(org.apache.tika.detect.EncodingDetector encodingDetector)
  • 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
      Throws:
      IOException
      SAXException
      org.apache.tika.exception.TikaException
    • getContentHandler

      public ContentHandler getContentHandler(ContentHandler handler, org.apache.tika.metadata.Metadata metadata)
      Get the content handler to use.
      Parameters:
      handler - the parent content handler.
      metadata - the metadata object.
      Returns:
      the ContentHandler.