Package org.openstreetmap.josm.tools
Class TaginfoRegionalInstance
java.lang.Object
org.openstreetmap.josm.tools.TaginfoRegionalInstance
Describes a regional Taginfo instance.
- Since:
- 15876
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTaginfoRegionalInstance(String url, Set<String> isoCodes) Constructs a newTaginfoRegionalInstance.TaginfoRegionalInstance(String url, Set<String> isoCodes, String suffix) Constructs a newTaginfoRegionalInstance. -
Method Summary
-
Field Details
-
url
Instance URL -
isoCodes
Set of ISO3166 codes for the covered areas -
suffix
Optional suffix to distinguish them in UI
-
-
Constructor Details
-
TaginfoRegionalInstance
Constructs a newTaginfoRegionalInstance.- Parameters:
url- Instance URL. Must not be nullisoCodes- Set of ISO3166 codes for the covered areas. Must not be null
-
TaginfoRegionalInstance
Constructs a newTaginfoRegionalInstance.- Parameters:
url- Instance URL. Must not be nullisoCodes- Set of ISO3166 codes for the covered areas. Must not be nullsuffix- Optional suffix to distinguish them in UI. Can be null
-
-
Method Details
-
getUrl
Returns the instance URL.- Returns:
- instance URL
-
getIsoCodes
Returns the set of ISO3166 codes for the covered areas.- Returns:
- set of ISO3166 codes for the covered areas
-
getSuffix
Returns the optional suffix to distinguish them in UI.- Returns:
- optional suffix to distinguish them in UI. Can be null
-
toString
-