Class RTFParser

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

public class RTFParser extends Object implements org.apache.tika.parser.Parser
RTF parser
See Also:
  • Constructor Details

    • RTFParser

      public RTFParser()
  • Method Details

    • getSupportedTypes

      public Set<org.apache.tika.mime.MediaType> getSupportedTypes(org.apache.tika.parser.ParseContext context)
      Specified by:
      getSupportedTypes in interface org.apache.tika.parser.Parser
    • 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
      Specified by:
      parse in interface org.apache.tika.parser.Parser
      Throws:
      IOException
      SAXException
      org.apache.tika.exception.TikaException
    • getMemoryLimitInKb

      public int getMemoryLimitInKb()
    • setMemoryLimitInKb

      @Field public void setMemoryLimitInKb(int memoryLimitInKb)