MCPcopy Create free account
hub / github.com/apache/pig / addJar

Method addJar

src/org/apache/pig/impl/PigContext.java:346–351  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

344 }
345
346 public void addJar(String path) throws MalformedURLException {
347 if (path != null) {
348 URL resource = (new File(path)).toURI().toURL();
349 addJar(resource, path);
350 }
351 }
352
353 public void addJar(URL resource, String originalPath) throws MalformedURLException{
354 if (resource != null && !extraJars.contains(resource)) {

Callers 5

createAndAddResourceMethod · 0.80
registerJarMethod · 0.80
buildNativeOpMethod · 0.80

Calls 5

toURIMethod · 0.80
addURLMethod · 0.80
addMethod · 0.65
containsMethod · 0.45
putMethod · 0.45

Tested by 2

createAndAddResourceMethod · 0.64