Class MediaTypeEditor

java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.http.MediaTypeEditor
All Implemented Interfaces:
PropertyEditor

public class MediaTypeEditor extends PropertyEditorSupport
Editor for MediaType descriptors, to automatically convert String specifications (e.g. "text/html") to MediaType properties.
Since:
3.0
Author:
Juergen Hoeller
See Also: