public class MapEditor extends AbstractPropertyEditor
PropertyEditor
which converts a String
into
a Collection
and vice versa.构造器和说明 |
---|
MapEditor(java.lang.Class<?> keyType,
java.lang.Class<?> valueType) |
限定符和类型 | 方法和说明 |
---|---|
protected java.util.Map<java.lang.Object,java.lang.Object> |
newMap() |
protected java.lang.String |
toText(java.lang.Object value) |
protected java.lang.Object |
toValue(java.lang.String text) |
defaultText, defaultValue, getAsText, getValue, setAsText, setTrimText, setValue
protected final java.lang.String toText(java.lang.Object value)
toText
在类中 AbstractPropertyEditor
protected final java.lang.Object toValue(java.lang.String text) throws java.lang.IllegalArgumentException
toValue
在类中 AbstractPropertyEditor
java.lang.IllegalArgumentException
protected java.util.Map<java.lang.Object,java.lang.Object> newMap()