MCPcopy Index your code
hub / github.com/processing/processing / listJarFiles

Method listJarFiles

app/src/processing/app/Util.java:442–450  ·  view source on GitHub ↗

@param folder source folder to search @return a list of .jar and .zip files in that folder

(File folder)

Source from the content-addressed store, hash-verified

440 * @return a list of .jar and .zip files in that folder
441 */
442 static public File[] listJarFiles(File folder) {
443 return folder.listFiles(new FilenameFilter() {
444 public boolean accept(File dir, String name) {
445 return (!name.startsWith(".") &&
446 (name.toLowerCase().endsWith(".jar") ||
447 name.toLowerCase().endsWith(".zip")));
448 }
449 });
450 }
451
452
453 /////////////////////////////////////////////////////////////////////////////

Callers 2

initLoaderMethod · 0.95
initLoaderMethod · 0.95

Calls 1

listFilesMethod · 0.45

Tested by

no test coverage detected