org.apache.sling.jcr.contentparser
bundle;
see org.apache.sling.contentparser.api
@ProviderType @Deprecated public interface ContentParser
Modifier and Type | Method and Description |
---|---|
void |
parse(ContentHandler contentHandler,
InputStream inputStream)
Deprecated.
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–2019 The Apache Software Foundation. All rights reserved.