public static class TaggingPresetPreference.PresetPrefHelper extends SourceEditor.SourcePrefHelper
Modifier and Type | Field and Description |
---|---|
static TaggingPresetPreference.PresetPrefHelper |
INSTANCE
The unique instance.
|
Constructor and Description |
---|
TaggingPresetPreference.PresetPrefHelper()
Constructs a new
PresetPrefHelper . |
Modifier and Type | Method and Description |
---|---|
SourceEntry |
deserialize(Map<String,String> s) |
Collection<SourceEditor.ExtendedSourceEntry> |
getDefault()
Returns the default sources provided by JOSM core.
|
Map<String,String> |
serialize(SourceEntry entry) |
get, getActiveUrls, put
public static final TaggingPresetPreference.PresetPrefHelper INSTANCE
public TaggingPresetPreference.PresetPrefHelper()
PresetPrefHelper
.public Collection<SourceEditor.ExtendedSourceEntry> getDefault()
SourceEditor.SourcePrefHelper
getDefault
in class SourceEditor.SourcePrefHelper
public Map<String,String> serialize(SourceEntry entry)
serialize
in class SourceEditor.SourcePrefHelper
public SourceEntry deserialize(Map<String,String> s)
deserialize
in class SourceEditor.SourcePrefHelper