Revision 33738 branches/v2_0_0_prep/libraries/libRemoteServices/src/org/gvsig/remoteclient/wms/wms_1_3_0/request/WMSGetFeatureInfoRequest1_1_3.java
WMSGetFeatureInfoRequest1_1_3.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
package org.gvsig.remoteclient.wms.wms_1_3_0.request; |
29 | 29 |
|
30 |
import org.gvsig.compat.CompatLocator; |
|
31 |
import org.gvsig.compat.lang.StringUtils; |
|
30 | 32 |
import org.gvsig.remoteclient.utils.CapabilitiesTags; |
31 | 33 |
import org.gvsig.remoteclient.utils.Utilities; |
32 | 34 |
import org.gvsig.remoteclient.wms.WMSProtocolHandler; |
... | ... | |
38 | 40 |
*/ |
39 | 41 |
public class WMSGetFeatureInfoRequest1_1_3 extends WMSGetFeatureInfoRequest{ |
40 | 42 |
|
43 |
private static final StringUtils stringUtils = CompatLocator.getStringUtils(); |
|
44 |
|
|
41 | 45 |
public WMSGetFeatureInfoRequest1_1_3(WMSStatus status, |
42 | 46 |
WMSProtocolHandler protocolHandler, int x, int y) { |
43 | 47 |
super(status, protocolHandler, x, y); |
... | ... | |
56 | 60 |
req.append(getPartialQuery(status)).append("&I="+ x + "&J=" + y); |
57 | 61 |
req.append("&FEATURE_COUNT=10000"); |
58 | 62 |
req.append("&EXCEPTIONS=" + getExceptionsFormat()); |
59 |
return req.toString().replaceAll(" ", "%20");
|
|
63 |
return stringUtils.replaceAll(req.toString(), " ", "%20");
|
|
60 | 64 |
} |
61 | 65 |
|
62 | 66 |
/** |
Also available in: Unified diff