MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / Resource

Method Resource

src/org/opensourcephysics/tools/Resource.java:65–67  ·  view source on GitHub ↗

Constructs a resource from a url. @param url the URL

(URL url)

Source from the content-addressed store, hash-verified

63 * @param url the URL
64 */
65 public Resource(URL url) {
66 this.url = url;
67 }
68
69 /**
70 * Constructs a resource from a file.

Callers

nothing calls this directly

Calls 3

getJarURLForFileMethod · 0.95
toStringMethod · 0.45
getAbsolutePathMethod · 0.45

Tested by

no test coverage detected