public static MimeType resolveContentType(String type, Module module) throws ClassNotFoundException, LinkageError {
		if (!type.contains("/")) {
			Class<?> javaType = resolveJavaType(type, module);
			return MessageConverterUtils.javaObjectMimeType(javaType);
		}
		return MimeType.valueOf(type);
	}
Resolve the {@link org.springframework.util.MimeType} to use for the given content type
specified for the module input/output.

@param type the content type
@param module the underlying module
@return the MimeType
@throws ClassNotFoundException
@throws LinkageError
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/plugins/stream/ModuleTypeConversionSupport.java