@SuppressWarnings("unchecked")
    public <T> T get(Class<T> key) {
        return (T) context.get(key.getName());
    }
Returns the object in this context that implements the given interface.

@param key the interface implemented by the requested object
@return the object that implements the given interface,
or <code>null</code> if not found
tika-core/src/main/java/org/apache/tika/parser/ParseContext.java