Loads the supplied PreferencesMap from the specified resource, recursively loading parent resources such that entries are loaded in order of priority (lowest first). @param map preference map to populate @param name name of resource to load
(PreferencesMap map, String name)
| 635 | * @param name name of resource to load |
| 636 | */ |
| 637 | static public PreferencesMap loadFromResource(PreferencesMap map, String name) throws IOException { |
| 638 | return loadFromResource(map, getThemeResource(name)); |
| 639 | } |
| 640 | |
| 641 | static private PreferencesMap loadFromResource(PreferencesMap map, Resource resource) throws IOException { |
| 642 | if (resource != null) { |
no test coverage detected