public final class JsonContentParser extends Object implements ContentParser
Constructor and Description |
---|
JsonContentParser(ParserOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
parse(ContentHandler handler,
InputStream is)
Parse content in a "stream-based" way.
|
public JsonContentParser(ParserOptions options)
public void parse(ContentHandler handler, InputStream is) throws IOException, ParseException
ContentParser
parse
in interface ContentParser
handler
- Content handler that accepts the parsed content.is
- Stream with serialized contentIOException
- When I/O error occurs.ParseException
- When parsing error occurs.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.