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