org.jfree.chart.urls
Class URLUtilities
- java.lang.Object
-
- org.jfree.chart.urls.URLUtilities
-
public class URLUtilities extends java.lang.ObjectGeneral utility methods for URLs.- Since:
- 1.0.6
-
-
Constructor Summary
Constructors Constructor and Description URLUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.lang.Stringencode(java.lang.String s, java.lang.String encoding)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.
-
-
-
Method Detail
-
encode
public static java.lang.String encode(java.lang.String s, java.lang.String encoding)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
-
-
DMelt 3.0 © DataMelt by jWork.ORG