source: josm/trunk/src/org/openstreetmap/josm/spi/preferences/IUrls.java@ 14208

Last change on this file since 14208 was 14208, checked in by simon04, 6 years ago

fix #16702 - Speed up OSM wiki help using MediaWiki API

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.spi.preferences;
3
4/**
5 * Interface for a provider of certain URLs.
6 * @since 14119
7 */
8public interface IUrls {
9
10 /**
11 * Returns the OSM website URL depending on the selected OSM API.
12 * @return the OSM website URL depending on the selected OSM API
13 */
14 String getOSMWebsiteDependingOnSelectedApi();
15
16 /**
17 * Replies the base URL for browsing information about a primitive.
18 * @return the base URL, i.e. https://www.openstreetmap.org
19 */
20 String getBaseBrowseUrl();
21
22 /**
23 * Replies the base URL for browsing information about a user.
24 * @return the base URL, i.e. https://www.openstreetmap.org/user
25 */
26 String getBaseUserUrl();
27
28 /**
29 * Returns the JOSM website URL.
30 * @return the josm website URL
31 */
32 String getJOSMWebsite();
33
34 /**
35 * Returns the JOSM XML URL.
36 * @return the JOSM XML URL
37 */
38 String getXMLBase();
39
40 /**
41 * Returns the OSM website URL.
42 * @return the OSM website URL
43 */
44 String getOSMWebsite();
45
46 /**
47 * Returns the OSM wiki URL.
48 * @return the OSM wiki URL
49 * @since 14208
50 */
51 String getOSMWiki();
52
53 /**
54 * Returns the default OSM API URL.
55 * @return the default OSM API URL
56 */
57 String getDefaultOsmApiUrl();
58}
Note: See TracBrowser for help on using the repository browser.