Interface EmbeddedResourceHandler

  • public interface EmbeddedResourceHandler
    Tika container extractor callback interface. To work with a ContainerExtractor, your code needs to implement this interface.
    • 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.
        filename - The filename of the embedded resource, if known
        mediaType - The media type of the embedded resource, if known
        stream - The contents of the embedded resource
        Apache Tika 0.8