public static MimeType mimeType(String type, String subtype, List<String> suffixes, List<MimeType> equivalents, Option<String> description, Option<String> flavor, Option<String> flavorDescription) { return new MimeType(type, subtype, suffixes, equivalents, description, flavor, flavorDescription); }
public static MimeType mimeType(String type, String subtype) { return new MimeType(type, subtype, Collections.<String>nil(), Collections.<MimeType>nil(), none(""), none(""), none("")); }
public static MimeType mimeType(String type, String subtype, String suffix) { return new MimeType(type, subtype, list(suffix), Collections.<MimeType>nil(), none(""), none(""), none("")); }