public interface EmbeddedDocumentExtractor
Modifier and Type | Method and Description |
---|---|
void |
parseEmbedded(InputStream stream,
ContentHandler handler,
Metadata metadata,
boolean outputHtml)
Processes the supplied embedded resource, calling the delegating
parser with the appropriate details.
|
boolean |
shouldParseEmbedded(Metadata metadata) |
boolean shouldParseEmbedded(Metadata metadata)
void parseEmbedded(InputStream stream, ContentHandler handler, Metadata metadata, boolean outputHtml) throws SAXException, IOException
stream
- The embedded resourcehandler
- The handler to usemetadata
- The metadata for the embedded resourceoutputHtml
- Should we output HTML for this resource, or has the parser already done so?SAXException
IOException
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.