public class MediaTypeEditor
extends java.beans.PropertyEditorSupport
Editor
for MediaType
descriptors, to automatically convert String
specifications
(e.g. "text/html"
) to MediaType
properties.MediaType
Constructor and Description |
---|
MediaTypeEditor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsText() |
void |
setAsText(java.lang.String text) |
public void setAsText(java.lang.String text)
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport