org.jfree.chart.urls
public class URLUtilities extends Object
Since: 1.0.6
Method Summary | |
---|---|
static String | encode(String s, String encoding)
Calls java.net.URLEncoder.encode(String, String) via
reflection, if we are running on JRE 1.4 or later, otherwise reverts to
the deprecated URLEncoder.encode(String) method.
|
java.net.URLEncoder.encode(String, String)
via
reflection, if we are running on JRE 1.4 or later, otherwise reverts to
the deprecated URLEncoder.encode(String)
method.
Parameters: s the string to encode. encoding the encoding.
Returns: The encoded string.
Since: 1.0.6