MCPcopy Index your code
hub / github.com/benfry/processing4 / getClassPath

Method getClassPath

app/src/processing/app/Library.java:397–418  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

395 // the returned value begins with File.pathSeparatorChar
396 // so that it can be appended to other paths safely
397 public String getClassPath() {
398 StringBuilder cp = new StringBuilder();
399
400 String[] jarHeads = libraryFolder.list(jarFilter);
401 if (jarHeads != null) {
402 for (String jar : jarHeads) {
403 cp.append(File.pathSeparatorChar);
404 cp.append(new File(libraryFolder, jar).getAbsolutePath());
405 }
406 }
407 File nativeLibraryFolder = new File(nativeLibraryPath);
408 if (!libraryFolder.equals(nativeLibraryFolder)) {
409 jarHeads = new File(nativeLibraryPath).list(jarFilter);
410 if (jarHeads != null) {
411 for (String jar : jarHeads) {
412 cp.append(File.pathSeparatorChar);
413 cp.append(new File(nativeLibraryPath, jar).getAbsolutePath());
414 }
415 }
416 }
417 return cp.toString();
418 }
419
420
421 public String getNativePath() {

Callers 4

handleExportsMethod · 0.95
createTestLibraryMethod · 0.95
buildModeSketchPathMethod · 0.95
preprocessMethod · 0.95

Calls 4

listMethod · 0.45
appendMethod · 0.45
equalsMethod · 0.45
toStringMethod · 0.45

Tested by 1

createTestLibraryMethod · 0.76