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

Method fileToURL

src/main/org/apache/tools/ant/taskdefs/Definer.java:316–351  ·  view source on GitHub ↗

Convert a file to a file: URL. @return the URL, or null if it isn't valid and the active error policy is not to raise a fault @throws BuildException if the file is missing/not a file and the policy requires failure at this point.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

executeMethod · 0.95

Calls 6

getFileUtilsMethod · 0.95
getFileURLMethod · 0.80
logMethod · 0.65
existsMethod · 0.45
isFileMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected