if (fullType.equals("*"))
fullType = "*/*";
String[] types = StringUtils.split(fullType, "/");
if (types.length != 2)
{
throw new InvalidMimeTypeException(mimeType);
}
results.type = types[0].trim();
results.subType = types[1].trim();
return results;
}