org.apache.tika.extractor
Interface EmbeddedDocumentExtractor
- All Known Implementing Classes:
- ParsingEmbeddedDocumentExtractor
public interface EmbeddedDocumentExtractor
Method Summary |
void |
parseEmbedded(java.io.InputStream stream,
org.xml.sax.ContentHandler handler,
Metadata metadata,
boolean outputHtml)
Processes the supplied embedded resource, calling the delegating
parser with the appropriate details. |
boolean |
shouldParseEmbedded(Metadata metadata)
|
shouldParseEmbedded
boolean shouldParseEmbedded(Metadata metadata)
parseEmbedded
void parseEmbedded(java.io.InputStream stream,
org.xml.sax.ContentHandler handler,
Metadata metadata,
boolean outputHtml)
throws org.xml.sax.SAXException,
java.io.IOException
- Processes the supplied embedded resource, calling the delegating
parser with the appropriate details.
- Parameters:
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?
- Throws:
org.xml.sax.SAXException
java.io.IOException
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.