public class DefaultParser extends CompositeParser
Parser
implementations
available through the
service provider mechanism
.Constructor and Description |
---|
DefaultParser() |
DefaultParser(java.lang.ClassLoader loader) |
DefaultParser(MediaTypeRegistry registry) |
DefaultParser(MediaTypeRegistry registry,
java.lang.ClassLoader loader) |
DefaultParser(MediaTypeRegistry registry,
ServiceLoader loader) |
DefaultParser(MediaTypeRegistry registry,
ServiceLoader loader,
java.util.Collection<java.lang.Class<? extends Parser>> excludeParsers) |
DefaultParser(MediaTypeRegistry registry,
ServiceLoader loader,
java.util.Collection<java.lang.Class<? extends Parser>> excludeParsers,
EncodingDetector encodingDetector) |
DefaultParser(MediaTypeRegistry registry,
ServiceLoader loader,
EncodingDetector encodingDetector) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Parser> |
getAllComponentParsers()
Returns all parsers registered with the Composite Parser,
including ones which may not currently be active.
|
java.util.Map<MediaType,Parser> |
getParsers(ParseContext context) |
findDuplicateParsers, getFallback, getMediaTypeRegistry, getParsers, getSupportedTypes, parse, setFallback, setMediaTypeRegistry, setParsers
parse
public DefaultParser(MediaTypeRegistry registry, ServiceLoader loader, java.util.Collection<java.lang.Class<? extends Parser>> excludeParsers, EncodingDetector encodingDetector)
public DefaultParser(MediaTypeRegistry registry, ServiceLoader loader, java.util.Collection<java.lang.Class<? extends Parser>> excludeParsers)
public DefaultParser(MediaTypeRegistry registry, ServiceLoader loader, EncodingDetector encodingDetector)
public DefaultParser(MediaTypeRegistry registry, ServiceLoader loader)
public DefaultParser(MediaTypeRegistry registry, java.lang.ClassLoader loader)
public DefaultParser(java.lang.ClassLoader loader)
public DefaultParser(MediaTypeRegistry registry)
public DefaultParser()
public java.util.Map<MediaType,Parser> getParsers(ParseContext context)
getParsers
in class CompositeParser
public java.util.List<Parser> getAllComponentParsers()
CompositeParser
getAllComponentParsers
in class CompositeParser
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"