Class StreetsideURL.MainWebsite
- java.lang.Object
-
- org.openstreetmap.josm.plugins.streetside.utils.StreetsideURL.MainWebsite
-
- Enclosing class:
- StreetsideURL
public static final class StreetsideURL.MainWebsite extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description privateMainWebsite()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.URLbrowseImage(java.lang.String id)Gives you the URL for the online viewer of a specific Streetside image.static java.net.URLstreetsidePrivacyLink(java.lang.String id)Gives you the URL for the blur editor of the image with the given key.
-
-
-
Constructor Detail
-
MainWebsite
private MainWebsite()
-
-
Method Detail
-
browseImage
public static java.net.URL browseImage(java.lang.String id)
Gives you the URL for the online viewer of a specific Streetside image.- Parameters:
id- the id of the image to which you want to link- Returns:
- the URL of the online viewer for the image with the given image key
- Throws:
java.lang.IllegalArgumentException- if the image key isnull
-
streetsidePrivacyLink
public static java.net.URL streetsidePrivacyLink(java.lang.String id)
Gives you the URL for the blur editor of the image with the given key.- Parameters:
id- the key of the image for which you want to open the blur editor- Returns:
- the URL of the blur editor
- Throws:
java.lang.IllegalArgumentException- if the image key isnull
-
-