Changeset 9805 in josm


Ignore:
Timestamp:
2016-02-14T23:17:40+01:00 (6 years ago)
Author:
Don-vip
Message:

javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/Preferences.java

    r9793 r9805  
    554554    }
    555555
     556    /**
     557     * Loads preferences from XML reader.
     558     * @param in XML reader
     559     * @throws XMLStreamException if any XML stream error occurs
     560     */
    556561    public void fromXML(Reader in) throws XMLStreamException {
    557562        PreferencesReader reader = new PreferencesReader();
     
    13961401    }
    13971402
     1403    /**
     1404     * Returns XML describing these preferences.
     1405     * @param nopass if password must be excluded
     1406     * @return XML
     1407     */
    13981408    public String toXML(boolean nopass) {
    13991409        return toXML(settingsMap, nopass);
    14001410    }
    14011411
     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     */
    14021418    public String toXML(Map<String, Setting<?>> settings, boolean nopass) {
    14031419        StringBuilder b = new StringBuilder(
Note: See TracChangeset for help on using the changeset viewer.