MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / getImageJDir

Method getImageJDir

ij/src/main/java/ij/Prefs.java:429–440  ·  view source on GitHub ↗

Returns the path, ending in File.separator, to the ImageJ directory.

()

Source from the content-addressed store, hash-verified

427
428 /** Returns the path, ending in File.separator, to the ImageJ directory. */
429 public static String getImageJDir() {
430 String path = Menus.getImageJPath();
431 if (path==null) {
432 String ijPath = ImageJDir;
433 if (ijPath==null)
434 ijPath = getPluginsDirProperty();
435 if (ijPath==null)
436 ijPath = System.getProperty("user.dir");
437 return ijPath + File.separator;
438 } else
439 return path;
440 }
441
442 public static String getPluginsDirProperty() {
443 if (pluginsDirProperty==null) {

Callers 6

getDirectoryMethod · 0.95
getPrefsDirMethod · 0.95
loadCursorsMethod · 0.95
runMethod · 0.95
checkForUpdateMethod · 0.95
DicomDecoderMethod · 0.95

Calls 3

getImageJPathMethod · 0.95
getPluginsDirPropertyMethod · 0.95
getPropertyMethod · 0.45

Tested by

no test coverage detected