public static class TaggingPresetPreference.PresetPrefHelper extends SourceEditor.SourcePrefHelper
| Modifier and Type | Field and Description |
|---|---|
static TaggingPresetPreference.PresetPrefHelper |
INSTANCE
The unique instance.
|
| Constructor and Description |
|---|
PresetPrefHelper()
Constructs a new
PresetPrefHelper. |
| Modifier and Type | Method and Description |
|---|---|
SourceEntry |
deserialize(java.util.Map<java.lang.String,java.lang.String> s)
Deserializes the given map as a source entry.
|
java.util.Collection<SourceEditor.ExtendedSourceEntry> |
getDefault()
Returns the default sources provided by JOSM core.
|
java.util.Map<java.lang.String,java.lang.String> |
serialize(SourceEntry entry)
Serializes the given source entry as a map.
|
get, getActiveUrls, putpublic static final TaggingPresetPreference.PresetPrefHelper INSTANCE
public PresetPrefHelper()
PresetPrefHelper.public java.util.Collection<SourceEditor.ExtendedSourceEntry> getDefault()
SourceEditor.SourcePrefHelpergetDefault in class SourceEditor.SourcePrefHelperpublic java.util.Map<java.lang.String,java.lang.String> serialize(SourceEntry entry)
SourceEditor.SourcePrefHelperserialize in class SourceEditor.SourcePrefHelperentry - source entry to serializepublic SourceEntry deserialize(java.util.Map<java.lang.String,java.lang.String> s)
SourceEditor.SourcePrefHelperdeserialize in class SourceEditor.SourcePrefHelpers - map (key=value)