Interface ParseHook

All Known Implementing Classes:
InferenceDispatcher

public interface ParseHook
Sees every document a parse touches, at the entry point that already sees each one once: the auto-detect parser, after detection. A hook is built at config load, carried in the ParseContext for the duration of the top-level parse, and may ask for a document's bytes after its own parser has run. Tika core knows nothing about what a hook does with them; an inference module does.
Since:
Apache Tika 4.1