Class ConfigOverrides
java.lang.Object
org.apache.tika.pipes.core.config.ConfigOverrides
Configuration overrides for merging with or creating Tika JSON configuration.
This class provides a fluent builder API to specify fetchers, emitters, pipes configuration, and other settings that should be merged into an existing config or used to create a new one.
Example usage:
ConfigOverrides overrides = ConfigOverrides.builder()
.addFetcher("my-fetcher", "file-system-fetcher",
Map.of("basePath", "/tmp/input"))
.setPipesConfig(4, null)
.setEmitStrategy(EmitStrategy.PASSBACK_ALL)
.setPluginRoots("plugins")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for ConfigOverrides.static classRepresents an emitter configuration override.static classRepresents a fetcher configuration override.static classRepresents pipes configuration overrides. -
Method Summary
-
Method Details
-
builder
-
getFetchers
-
getEmitters
-
getPipesConfig
-
getPluginRoots
-
getEmitStrategy
-
getTimeoutLimits
-