public abstract class AbstractMapConverter extends AbstractConverter
Modifier | Constructor and Description |
---|---|
|
AbstractMapConverter(Class type) |
protected |
AbstractMapConverter(Class type,
PropertyEditor keyEditor,
PropertyEditor valueEditor) |
Modifier and Type | Method and Description |
---|---|
protected abstract Map |
createMap(Map map) |
protected Object |
toObjectImpl(String text)
Treats the text value of this property as an input stream that
is converted into a Property bundle.
|
protected String |
toStringImpl(Object value)
Converts the supplied object to text.
|
getAsText, getType, getValue, setAsText, setValue, toObject, toString
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditor
public AbstractMapConverter(Class type)
protected AbstractMapConverter(Class type, PropertyEditor keyEditor, PropertyEditor valueEditor)
protected final Object toObjectImpl(String text)
toObjectImpl
in class AbstractConverter
text
- the text to convertPropertyEditorException
- An error occurred creating the Properties object.protected final String toStringImpl(Object value)
AbstractConverter
toStringImpl
in class AbstractConverter
value
- an instance of the editor typeCopyright © 2005–2015. All rights reserved.