Class JosmUrls
java.lang.Object
org.openstreetmap.josm.data.preferences.JosmUrls
- All Implemented Interfaces:
IUrls
Class that provides URLs values for JOSM.
- Since:
- 14119
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReplies the base URL for browsing information about a primitive.Replies the base URL for browsing information about a user.Returns the default OSM API URL.static JosmUrlsReturns the unique instance.Returns the JOSM website URL.Returns the OSM website URL.Returns the OSM website URL depending on the selected OSM API.Returns the OSM wiki URL.Returns the JOSM XML URL.
-
Field Details
-
JOSM_WEBSITE
The JOSM website URL.- See Also:
-
OSM_WEBSITE
The OSM website URL.- See Also:
-
OSM_WIKI
The OSM wiki URL.- See Also:
-
DEFAULT_API_URL
public URL of the standard OSM API.- See Also:
-
-
Constructor Details
-
JosmUrls
private JosmUrls()
-
-
Method Details
-
getInstance
Returns the unique instance.- Returns:
- the unique instance
-
getOSMWebsiteDependingOnSelectedApi
Description copied from interface:IUrlsReturns the OSM website URL depending on the selected OSM API.- Specified by:
getOSMWebsiteDependingOnSelectedApiin interfaceIUrls- Returns:
- the OSM website URL depending on the selected OSM API
-
getBaseBrowseUrl
Description copied from interface:IUrlsReplies the base URL for browsing information about a primitive.- Specified by:
getBaseBrowseUrlin interfaceIUrls- Returns:
- the base URL, i.e. https://www.openstreetmap.org
-
getBaseUserUrl
Description copied from interface:IUrlsReplies the base URL for browsing information about a user.- Specified by:
getBaseUserUrlin interfaceIUrls- Returns:
- the base URL, i.e. https://www.openstreetmap.org/user
-
getJOSMWebsite
Description copied from interface:IUrlsReturns the JOSM website URL.- Specified by:
getJOSMWebsitein interfaceIUrls- Returns:
- the josm website URL
-
getXMLBase
Description copied from interface:IUrlsReturns the JOSM XML URL.- Specified by:
getXMLBasein interfaceIUrls- Returns:
- the JOSM XML URL
-
getOSMWebsite
Description copied from interface:IUrlsReturns the OSM website URL.- Specified by:
getOSMWebsitein interfaceIUrls- Returns:
- the OSM website URL
-
getOSMWiki
Description copied from interface:IUrlsReturns the OSM wiki URL.- Specified by:
getOSMWikiin interfaceIUrls- Returns:
- the OSM wiki URL
-
getDefaultOsmApiUrl
Description copied from interface:IUrlsReturns the default OSM API URL.- Specified by:
getDefaultOsmApiUrlin interfaceIUrls- Returns:
- the default OSM API URL
-