Hi, Another quick design question: Is it better to use a Map<String, Object> for the TIKA-275 parse context, or should we have an explicit ParseContext class for that?
The Map approach was simple to implement, but in the long term it might be better to use a separate class as it gives us an easy way to extend the design if needed. Also, the class approach would make it easy to centralize things like type safety and default value handling. This is what I had in mind: public class ParseContext { public <T> T get(Class<T> key) { ... } public <T> T get(Class<T> key, T defaultValue) { ... } public <T> void set(Class<T> key, T value) { ... } } BR, Jukka Zitting