@Field
    public void setMimes(List<String> mimes) {
        this.mimes.addAll(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