List of utility methods to do URI from
URI | toURI(String location) Create a URI instance for the given location String, replacing spaces with "%20" quotes first. return new URI(replace(location, " ", "%20")); |
URI | toURI(String location) to URI return new URI(location.replace(" ", "%20")); |
URI | toURI(String location) Create a URI instance for the given location String, replacing spaces with "%20" quotes first. return new URI(replace(location, " ", "%20")); |
URI | toURI(String location) to URI return new URI(replace(location, " ", "%20")); |
URI | toURI(String location) Create a URI instance for the given location String, replacing spaces with "%20" URI encoding first. return new URI(location.replace(" ", "%20")); |
URI | toUri(String path) to Uri if (path == null || path.isEmpty()) { return null; File file = new File(path); if (file.exists()) { path = file.getAbsolutePath(); URI uri; ... |
URI | toURI(String path) to URI return URI.create(treatPath(path));
|
URI | toURI(String s) to URI try { return new URI(s); } catch (URISyntaxException e) { URL url; try { url = new URL(s); } catch (MalformedURLException e1) { throw e; ... |
URI | toURI(String str) Constructs URI from given string.
try { return new URI(str); } catch (URISyntaxException ex) { throw new IllegalArgumentException(ex); |
URI | toURI(String str) Constructs URI from given string.
return URI.create(str);
|