Package org.jfree.chart.urls
Class URLUtilities
java.lang.Object
org.jfree.chart.urls.URLUtilities
General utility methods for URLs.
- Since:
- 1.0.6
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
URLUtilities
public URLUtilities()
-
-
Method Details
-
encode
Callsjava.net.URLEncoder.encode(String, String)
via reflection, if we are running on JRE 1.4 or later, otherwise reverts to the deprecatedURLEncoder.encode(String)
method.- Parameters:
s
- the string to encode.encoding
- the encoding.- Returns:
- The encoded string.
- Since:
- 1.0.6
-