001// License: GPL. For details, see LICENSE file. 002package org.openstreetmap.josm.spi.preferences; 003 004/** 005 * Interface for a provider of certain URLs. 006 * @since 14119 007 */ 008public interface IUrls { 009 010 /** 011 * Returns the OSM website URL depending on the selected OSM API. 012 * @return the OSM website URL depending on the selected OSM API 013 */ 014 String getOSMWebsiteDependingOnSelectedApi(); 015 016 /** 017 * Replies the base URL for browsing information about a primitive. 018 * @return the base URL, i.e. https://www.openstreetmap.org 019 */ 020 String getBaseBrowseUrl(); 021 022 /** 023 * Replies the base URL for browsing information about a user. 024 * @return the base URL, i.e. https://www.openstreetmap.org/user 025 */ 026 String getBaseUserUrl(); 027 028 /** 029 * Returns the JOSM website URL. 030 * @return the josm website URL 031 */ 032 String getJOSMWebsite(); 033 034 /** 035 * Returns the JOSM XML URL. 036 * @return the JOSM XML URL 037 */ 038 String getXMLBase(); 039 040 /** 041 * Returns the OSM website URL. 042 * @return the OSM website URL 043 */ 044 String getOSMWebsite(); 045 046 /** 047 * Returns the OSM wiki URL. 048 * @return the OSM wiki URL 049 * @since 14208 050 */ 051 String getOSMWiki(); 052 053 /** 054 * Returns the default OSM API URL. 055 * @return the default OSM API URL 056 */ 057 String getDefaultOsmApiUrl(); 058}