public class URLUtilities extends Object
| Constructor and Description |
|---|
URLUtilities() |
| Modifier and Type | Method and Description |
|---|---|
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. |
public static String encode(String s, String encoding)
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.s - the string to encode.encoding - the encoding.Copyright © 2001–2014 JFree.org. All rights reserved.