Package org.apache.tika.config
Interface JsonConfig
- All Known Implementing Classes:
ExtensionConfig
public interface JsonConfig
Interface for objects that provide JSON configuration strings.
This interface allows JSON configuration to be passed in a type-safe way and works seamlessly with records:
record ConfigHolder(String json) implements JsonConfig {}
- Since:
- Apache Tika 4.0
-
Method Summary
-
Method Details
-
json
String json()Returns the JSON configuration string.- Returns:
- the JSON configuration
-