public class UriUtils
extends java.lang.Object
| Constructor and Description |
|---|
UriUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.net.URI |
create(java.lang.String s)
Create a URI from a String, with proper quoting.
|
static java.net.URI |
quote(java.lang.String s)
Create a URI from a string, with proper quoting.
|
static java.net.URI |
quote(java.net.URL u)
Create a URI from a URL, with proper quoting.
|
public static java.net.URI quote(java.lang.String s)
throws java.net.URISyntaxException
s - java.net.URISyntaxExceptionpublic static java.net.URI quote(java.net.URL u)
throws java.net.URISyntaxException
u - java.net.URISyntaxExceptionpublic static java.net.URI create(java.lang.String s)
s - Copyright © 2013. All Rights Reserved.