MCPcopy Index your code
hub / github.com/Col-E/Recaf / getClasspathFile

Method getClasspathFile

src/test/java/me/coley/recaf/Base.java:25–27  ·  view source on GitHub ↗

@param file Path to file in classpath. @return File reference. @throws IOException Thrown if the URL to the file could not be created.

(String file)

Source from the content-addressed store, hash-verified

23 * Thrown if the URL to the file could not be created.
24 */
25 public static Path getClasspathFile(String file) throws IOException {
26 return new File(URLDecoder.decode(getClasspathUrl(file).getFile(), "UTF-8")).toPath();
27 }
28
29 /**
30 * @param file

Callers 15

setupMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80
testNamedInnerMethod · 0.80
testAnonymousInnerMethod · 0.80
testJarMethod · 0.80
testClassMethod · 0.80

Calls 3

getClasspathUrlMethod · 0.95
toPathMethod · 0.80
getFileMethod · 0.45

Tested by

no test coverage detected