@Override
    public Set<MediaType> getSupportedTypes(ParseContext context) {
        return offeredTypes;
    }
Sets the media type registry used to infer type relationships.

@param registry media type registry
tika-core/src/main/java/org/apache/tika/parser/multiple/AbstractMultipleParser.java