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 java.lang.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 java.net.URL` | `browseImage(java.lang.String id)` Gives you the URL for the online viewer of a specific Streetside image.
    `static java.net.URL` | `streetsidePrivacyLink(java.lang.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 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 is `null`

    - #### 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 is `null`

JOSM Plugins