@ProviderType public final class ContentParserFactory extends Object
Modifier and Type | Method and Description |
---|---|
static ContentParser |
create(ContentType type)
Create content parser.
|
static ContentParser |
create(ContentType type,
ParserOptions options)
Create content parser.
|
public static ContentParser create(ContentType type)
type
- Content typepublic static ContentParser create(ContentType type, ParserOptions options)
type
- Content typeoptions
- Parser optionsCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.