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

Method toURI

src/main/org/apache/tools/ant/util/FileUtils.java:1365–1367  ·  view source on GitHub ↗

Constructs a file: URI that represents the external form of the given pathname. Will be an absolute URI if the given path is absolute. This code encodes non ASCII characters too. The coding of the output is the same as what File.toURI().toASCIIString() produces

(String path)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

definePackageMethod · 0.80
fileToURLMethod · 0.80
addPathMethod · 0.80
getJarArrayMethod · 0.80
toURLMethod · 0.80
doValidateMethod · 0.80
resourceToURIMethod · 0.80
createDocumentMethod · 0.80
parseMethod · 0.80
resolveEntityMethod · 0.80
parseMethod · 0.80
resolveEntityMethod · 0.80

Calls

no outgoing calls

Tested by 6

testFindResourcesMethod · 0.64
assertResolvesMethod · 0.64
test5Method · 0.64
testToURIMethod · 0.64