public final class Util
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
Util()
The private default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
adjustUrlForWebKit(java.lang.String url)
Converts a string representing a valid URL to an equivalent string
suitable for passing into WebKit.
|
(package private) static java.lang.String |
formatHeaders(java.lang.String headers) |
private Util()
public static java.lang.String adjustUrlForWebKit(java.lang.String url)
throws java.net.MalformedURLException
url - the string to be converted. Must represent a valid URL.java.lang.NullPointerException - if url is null.java.net.MalformedURLException - if url is not a valid URL.static java.lang.String formatHeaders(java.lang.String headers)