PropertyEditor, ConverterGenericMapConverter, HashMapEditor, HashtableEditor, IdentityHashMapEditor, LinkedHashMapEditor, MapEditor, PropertiesEditor, SortedMapEditor, TreeMapEditor, WeakHashMapEditorpublic abstract class AbstractMapConverter extends AbstractConverter
| Modifier | Constructor | Description |
|---|---|---|
|
AbstractMapConverter(Class type) |
|
protected |
AbstractMapConverter(Class type,
PropertyEditor keyEditor,
PropertyEditor valueEditor) |
| Modifier and Type | Method | 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditoraddPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditorpublic AbstractMapConverter(Class type)
protected AbstractMapConverter(Class type, PropertyEditor keyEditor, PropertyEditor valueEditor)
protected final Object toObjectImpl(String text)
toObjectImpl in class AbstractConvertertext - the text to convertPropertyEditorException - An error occurred creating the Properties object.protected final String toStringImpl(Object value)
AbstractConvertertoStringImpl in class AbstractConvertervalue - an instance of the editor typeCopyright © 2005–2018. All rights reserved.