MCPcopy Create free account
hub / github.com/0opslab/opslabJutil / toURI

Method toURI

src/main/java/com/opslab/helper/ClassHelper.java:516–518  ·  view source on GitHub ↗
(URL url)

Source from the content-addressed store, hash-verified

514
515
516 public static URI toURI(URL url) throws URISyntaxException {
517 return toURI(url.toString());
518 }
519
520 public static URI toURI(String location) throws URISyntaxException {
521 return new URI(StringHelper.replace(location, " ", "%20"));

Callers 1

getFileMethod · 0.95

Calls 2

replaceMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected