Package org.apache.tika.extractor
Interface EmbeddedResourceHandler
-
public interface EmbeddedResourceHandler
Tika container extractor callback interface. To work with aContainerExtractor
, your code needs to implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(String filename, MediaType mediaType, InputStream stream)
Called to process an embedded resource within the container.
-
-
-
Method Detail
-
handle
void handle(String filename, MediaType mediaType, InputStream stream)
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
-
-