public boolean match ( MimeType other ) { if ( this == other ) return true ; if ( type != null && other . type != null && ! type . equals ( other . type ) ) return false ; if ( subtype != null && other . subtype != null && ! subtype . equals ( other . subtype ) ) return false ; return true ; }
checks if given mimetype is covered by current mimetype