Uses of Enum Class
org.apache.tika.parser.inference.InputKind
Packages that use InputKind
Package
Description
Inference bindings: what is offered to which engine, buffered per document tree and run at
its end.
The
"pages" block: one configuration for every parser that renders a document to
pixels -- how it renders, where a page's text comes from, what is released to inference,
whether renders are emitted.-
Uses of InputKind in org.apache.tika.parser.inference
Methods in org.apache.tika.parser.inference that return InputKindModifier and TypeMethodDescriptionInferenceBinding.getInput()InferenceUnit.getKind()static InputKindThe kind a document's bytes are, by media type family; null for the rest and for playlists.static InputKindReturns the enum constant of this class with the specified name.static InputKind[]InputKind.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.tika.parser.inference with parameters of type InputKindModifier and TypeMethodDescriptionbooleanbooleanAsInferenceBinding.accepts(InputKind, MediaType), and for an image its recorded dimensions (tiff:ImageWidth,tiff:ImageLength) must reach the minimum when known.static InferenceBinding.BuilderThe three things every binding needs; everything else has a default.static ModalityThe one modality an input kind implies; null for MEDIA, whose bindings must say.voidInferenceDispatcher.offer(InputKind kind, MediaType type, Metadata target, Metadata parent, Path source, ParseContext context) Buffers the bytes atsourcefor every binding that takes them; dropped past a binding's budget.booleanInferenceDispatcher.wants(InputKind kind, MediaType type, ParseContext context) Whether any binding that runs for this request takes this kind and type.Constructors in org.apache.tika.parser.inference with parameters of type InputKind -
Uses of InputKind in org.apache.tika.parser.pages
Methods in org.apache.tika.parser.pages that return types with arguments of type InputKindMethod parameters in org.apache.tika.parser.pages with type arguments of type InputKindModifier and TypeMethodDescriptionvoidPagesConfig.setInference(List<InputKind> inference) TEXT,PAGES, or both; what the parser releases to inference bindings.