public class UriUtils extends Object
| Constructor and Description | 
|---|
| UriUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static URI | create(String s)Create a URI from a String, with proper quoting. | 
| static URI | quote(String s)Create a URI from a string, with proper quoting. | 
| static URI | quote(URL u)Create a URI from a URL, with proper quoting. | 
public static URI quote(String s) throws URISyntaxException
s - URISyntaxExceptionpublic static URI quote(URL u) throws URISyntaxException
u - URISyntaxExceptionCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.