public abstract static class SourceEditor.SourcePrefHelper extends Object
Constructor and Description |
---|
SourcePrefHelper(String pref)
Constructs a new
SourcePrefHelper for the given preference key. |
Modifier and Type | Method and Description |
---|---|
abstract SourceEntry |
deserialize(Map<String,String> entryStr) |
List<SourceEntry> |
get()
Returns the list of sources.
|
Set<String> |
getActiveUrls()
Returns the set of active source URLs.
|
abstract Collection<SourceEditor.ExtendedSourceEntry> |
getDefault()
Returns the default sources provided by JOSM core.
|
boolean |
put(Collection<? extends SourceEntry> entries) |
abstract Map<String,String> |
serialize(SourceEntry entry) |
public SourcePrefHelper(String pref)
SourcePrefHelper
for the given preference key.pref
- The preference keypublic abstract Collection<SourceEditor.ExtendedSourceEntry> getDefault()
public abstract Map<String,String> serialize(SourceEntry entry)
public abstract SourceEntry deserialize(Map<String,String> entryStr)
public List<SourceEntry> get()
public boolean put(Collection<? extends SourceEntry> entries)
public final Set<String> getActiveUrls()