Package org.apache.tika.parser.inference
Class InferenceSelection
java.lang.Object
org.apache.tika.parser.inference.InferenceSelection
- All Implemented Interfaces:
Serializable
Per-request choice among the configured bindings, under
"inference" in
parse-context: enabled: false runs none; bindings names the ones
that run, every enabled binding when absent. Names only, so it is wire-safe; a name not
in the configured list fails the request.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetBindings(List<String> bindings) voidsetEnabled(boolean enabled)
-
Constructor Details
-
InferenceSelection
public InferenceSelection()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getBindings
-
setBindings
-