Class StreetsideURL.APIv3
- java.lang.Object
-
- org.openstreetmap.josm.plugins.streetside.utils.StreetsideURL.APIv3
-
- Enclosing class:
- StreetsideURL
public static final class StreetsideURL.APIv3 extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAPIv3()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.URLparseNextFromLinkHeaderValue(java.lang.String value)The APIv3 returns a Link header for each request.static java.lang.StringqueryStreetsideString(Bounds bounds)static java.lang.StringqueryString(Bounds bounds)static java.net.URLsearchStreetsideImages(Bounds bounds)
-
-
-
Constructor Detail
-
APIv3
private APIv3()
-
-
Method Detail
-
searchStreetsideImages
public static java.net.URL searchStreetsideImages(Bounds bounds)
-
parseNextFromLinkHeaderValue
public static java.net.URL parseNextFromLinkHeaderValue(java.lang.String value)
The APIv3 returns a Link header for each request. It contains a URL for requesting more results. If you supply the value of the Link header, this method returns the next URL, if such a URL is defined in the header.- Parameters:
value- the value of the HTTP-header with key "Link"- Returns:
- the
URLfor the next result page, ornullif no such URL could be found
-
queryString
public static java.lang.String queryString(Bounds bounds)
-
queryStreetsideString
public static java.lang.String queryStreetsideString(Bounds bounds)
-
-