/** Get a mime type from the registry or create a new one if not available. */ public static MimeType getOrCreate(String type, String subtype) { for (MimeType t : get(type, subtype)) return t; return mimeType(type, subtype); }
/** Get a mime type from the registry or create a new one if not available. */ public static MimeType getOrCreate(String type, String subtype) { for (MimeType t : get(type, subtype)) return t; return mimeType(type, subtype); }