Package org.apache.tika.parser.xml
Class FictionBookParser
java.lang.Object
org.apache.tika.parser.xml.XMLParser
org.apache.tika.parser.xml.FictionBookParser
- All Implemented Interfaces:
Serializable,Parser
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ContentHandlergetContentHandler(ContentHandler handler, Metadata metadata, ParseContext context) getSupportedTypes(ParseContext context) Returns the set of media types supported by this parser when used with the given parse context.
-
Constructor Details
-
FictionBookParser
public FictionBookParser()
-
-
Method Details
-
getSupportedTypes
Description copied from interface:ParserReturns the set of media types supported by this parser when used with the given parse context.- Specified by:
getSupportedTypesin interfaceParser- Overrides:
getSupportedTypesin classXMLParser- Parameters:
context- parse context- Returns:
- immutable set of media types
-
getContentHandler
protected ContentHandler getContentHandler(ContentHandler handler, Metadata metadata, ParseContext context) - Overrides:
getContentHandlerin classXMLParser
-