public List<String> getMimes() {
        return new ArrayList<>(mimes);
    }
@param mimes list of mimes that will trigger complete removal of metadata
tika-core/src/main/java/org/apache/tika/metadata/filter/ClearByMimeMetadataFilter.java