@Override
	public MimeType convert(String source) {
		if (!source.contains("/")) {
			return MimeType.valueOf("application/x-java-object;type=" + source);
		}
		return MimeType.valueOf(source);
	}
A custom converter for {@link MediaType} that accepts a plain java class name as a shorthand for
{@code application/x-java-object;type=the.qualified.ClassName}.


@author Eric Bottard
@author David Turanski
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/plugins/stream/CustomMimeTypeConverter.java