Processes a container file, and extracts all the embedded resources from within it.
The {@link EmbeddedResourceHandler} you supply willbe called for each embedded resource in the container. It is up to you whether you process the contents of the resource or not.
The given document stream is consumed but not closed by this method. The responsibility to close the stream remains on the caller.
If required, nested containers (such as a .docx within a .zip) can automatically be recursed into, and processed inline. If no recurseExtractor is given, the nested containers will be treated as with any other embedded resources.
@since Apache Tika 0.8
@param stream the document stream (input)
@param recurseExtractor the extractor to use on any embedded containers
@param handler handler for the embedded files (output)
@throws IOException if the document stream could not be read
@throws TikaException if the container could not be parsed