MCPcopy Create free account
hub / github.com/apache/ant / fromURI

Method fromURI

src/main/org/apache/tools/ant/launch/Locator.java:166–210  ·  view source on GitHub ↗

Constructs a file path from a file: URI. Will be an absolute path if the given URI is absolute. Prior to Java 1.4,<!-- TODO is JDK version actually relevant? --> swallows '%' that are not followed by two characters. See dt

(String uri)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

getResourceSourceMethod · 0.95
fromJarURIMethod · 0.95
runMethod · 0.95
fromURIMethod · 0.95
resolveToMethod · 0.95
testHttpsURIMethod · 0.95
LocationMethod · 0.45
filesystemLookupMethod · 0.45
getMessageMethod · 0.45
logErrorMethod · 0.45
urlEqualsMethod · 0.45
determineDependenciesMethod · 0.45

Calls 13

decodeUriMethod · 0.95
indexOfMethod · 0.80
substringMethod · 0.80
lastIndexOfMethod · 0.80
getFileMethod · 0.65
getPropertyMethod · 0.65
equalsMethod · 0.45
getHostMethod · 0.45
lengthMethod · 0.45
appendMethod · 0.45
replaceMethod · 0.45
toStringMethod · 0.45

Tested by 5

resolveToMethod · 0.76
testHttpsURIMethod · 0.76
testFindClassMethod · 0.36
getFileMethod · 0.36
testFromURIMethod · 0.36