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

Method savePluginPrefs

ij/src/main/java/ij/Prefs.java:740–747  ·  view source on GitHub ↗

Save plugin preferences.

(Properties prefs)

Source from the content-addressed store, hash-verified

738
739 /** Save plugin preferences. */
740 static void savePluginPrefs(Properties prefs) {
741 Enumeration e = ijPrefs.keys();
742 while (e.hasMoreElements()) {
743 String key = (String) e.nextElement();
744 if (key.indexOf(KEY_PREFIX) == 0)
745 prefs.put(key, ijPrefs.getProperty(key));
746 }
747 }
748
749 @AstroImageJ(reason = "Rename for AIJ", modified = true)
750 public static void savePrefs(Properties prefs, String path) throws IOException{

Callers 1

savePreferencesMethod · 0.95

Calls 3

indexOfMethod · 0.45
putMethod · 0.45
getPropertyMethod · 0.45

Tested by

no test coverage detected