Package org.apache.tika.extractor
Interface EmbeddedResourceHandler
public interface EmbeddedResourceHandler
Tika container extractor callback interface.
To work with a
ContainerExtractor
, your code needs
to implement this interface.-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(String filename, MediaType mediaType, InputStream stream) Called to process an embedded resource within the container.
-
Method Details
-
handle
Called to process an embedded resource within the container. This will be called once per embedded resource within the container, along with whatever details are available on the embedded resource.- Parameters:
filename
- The filename of the embedded resource, if knownmediaType
- The media type of the embedded resource, if knownstream
- The contents of the embedded resource- Since:
- Apache Tika 0.8
-