public class URLMakers extends Object
| Constructor and Description |
|---|
URLMakers() |
| Modifier and Type | Method and Description |
|---|---|
static String |
decodeUrl(String url)
Decode url.
|
static String |
encodeUrl(String url)
Encode url.
|
static String |
getGeoserverUrlFromWmsUrl(String wmsUrl)
Gets the geoserver url from wms url.
|
static String |
getGeoserverWmsUrl(String geoserverUrl)
Gets the geoserver wms url.
|
static String |
getURL(ClickDataInfo clickDataInfo,
String projection,
List<LayerItem> layerItems)
Gets the url.
|
static String |
getURL(String projection,
int width,
int height,
int x,
int y,
String bbox,
List<LayerItem> layerItems)
Gets the url.
|
static String |
getURL(String projection,
String width,
String height,
int x,
int y,
String bbox,
Vector<String> layers)
Gets the url.
|
static String |
getWfsFeatureUrl(LayerItem l,
String bbox,
int limit,
String format)
Gets the wfs feature url.
|
static String |
reverseCoordinate(String BBOX,
String split)
Reverse coordinate.
|
public static String getURL(String projection, String width, String height, int x, int y, String bbox, Vector<String> layers)
projection - the projectionwidth - the widthheight - the heightx - the xy - the ybbox - the bboxlayers - the layerspublic static String getURL(String projection, int width, int height, int x, int y, String bbox, List<LayerItem> layerItems)
projection - the projectionwidth - the widthheight - the heightx - the xy - the ybbox - the bboxlayerItems - the layer itemspublic static String getGeoserverWmsUrl(String geoserverUrl)
geoserverUrl - the geoserver urlpublic static String getURL(ClickDataInfo clickDataInfo, String projection, List<LayerItem> layerItems)
clickDataInfo - the click data infoprojection - the projectionlayerItems - the layer itemspublic static String getWfsFeatureUrl(LayerItem l, String bbox, int limit, String format)
l - the lbbox - the bboxlimit - the limitformat - the formatpublic static String reverseCoordinate(String BBOX, String split)
BBOX - the bboxsplit - eg. ,public static String encodeUrl(String url)
url - the urlpublic static String decodeUrl(String url)
url - the urlCopyright © 2016. All Rights Reserved.