/** * Creates a MimeType instance with the given type, sub-type, and parameters values. * * @param type * the type to assign to the mimetype * @param subType * the subtype to assign to the mimetype * @param parameters * the parameters to assign to the mimetype * * @return a MimeType instance with the given type, sub-type, and an empty parameters map. */ public static MimeType of(final Type type, final SubType subType, final Map<String, String> parameters) { return new MimeType(type, subType, parameters); }