org.openstreetmap.josm.plugins.streetside.utils

## Class StreetsideURL.MainWebsite

- java.lang.Object
- - org.openstreetmap.josm.plugins.streetside.utils.StreetsideURL.MainWebsite

- Enclosing class:
    StreetsideURL

      public static final class StreetsideURL.MainWebsite
      extends Object

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `private` | `MainWebsite()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static URL` | `browseImage(String id)` Gives you the URL for the online viewer of a specific Streetside image.
    `static URL` | `streetsidePrivacyLink(String id)` Gives you the URL for the blur editor of the image with the given key.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MainWebsite

          private MainWebsite()

  - ### Method Detail

    - #### browseImage

          public static URL browseImage(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:
        `IllegalArgumentException` - if the image key is `null`

    - #### streetsidePrivacyLink

          public static URL streetsidePrivacyLink(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:
        `IllegalArgumentException` - if the image key is `null`

JOSM Plugins