org.apache.tika.parser
Class DefaultParser
java.lang.Object
org.apache.tika.parser.AbstractParser
org.apache.tika.parser.CompositeParser
org.apache.tika.parser.DefaultParser
- All Implemented Interfaces:
- Serializable, Parser
public class DefaultParser
- extends CompositeParser
A composite parser based on all the Parser
implementations
available through the
service provider mechanism
.
- Since:
- Apache Tika 0.8
- See Also:
- Serialized Form
Methods inherited from class org.apache.tika.parser.CompositeParser |
findDuplicateParsers, getFallback, getMediaTypeRegistry, getParser, getParser, getParsers, getSupportedTypes, parse, setFallback, setMediaTypeRegistry, setParsers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultParser
public DefaultParser(MediaTypeRegistry registry,
ServiceLoader loader)
DefaultParser
public DefaultParser(MediaTypeRegistry registry,
ClassLoader loader)
DefaultParser
public DefaultParser(ClassLoader loader)
DefaultParser
public DefaultParser(MediaTypeRegistry registry)
DefaultParser
public DefaultParser()
getParsers
public Map<MediaType,Parser> getParsers(ParseContext context)
- Overrides:
getParsers
in class CompositeParser
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.