Class Overview
General utility methods for URLs.
Summary
Public Methods |
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.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
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.
Parameters
s
| the string to encode. |
encoding
| the encoding. |