Changeset 9805 in josm for trunk/src/org
- Timestamp:
- 2016-02-14T23:17:40+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Preferences.java
r9793 r9805 554 554 } 555 555 556 /** 557 * Loads preferences from XML reader. 558 * @param in XML reader 559 * @throws XMLStreamException if any XML stream error occurs 560 */ 556 561 public void fromXML(Reader in) throws XMLStreamException { 557 562 PreferencesReader reader = new PreferencesReader(); … … 1396 1401 } 1397 1402 1403 /** 1404 * Returns XML describing these preferences. 1405 * @param nopass if password must be excluded 1406 * @return XML 1407 */ 1398 1408 public String toXML(boolean nopass) { 1399 1409 return toXML(settingsMap, nopass); 1400 1410 } 1401 1411 1412 /** 1413 * Returns XML describing the given preferences. 1414 * @param settings preferences settings 1415 * @param nopass if password must be excluded 1416 * @return XML 1417 */ 1402 1418 public String toXML(Map<String, Setting<?>> settings, boolean nopass) { 1403 1419 StringBuilder b = new StringBuilder(
Note:
See TracChangeset
for help on using the changeset viewer.