@Override
	public boolean supports(Class<?> type, String optionContext) {
		return MediaType.class.isAssignableFrom(type);
	}
Knows how to parse String representations of {@link MediaType}.

@author Eric Bottard
spring-xd-shell/src/main/java/org/springframework/xd/shell/converter/MediaTypeConverter.java