Changeset 38 in josm for src/org/openstreetmap/josm/data


Ignore:
Timestamp:
2006-01-02T21:57:25+01:00 (18 years ago)
Author:
imi
Message:

Added support for CSV import (well, CSV without "" specification)

File:
1 edited

Legend:

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

    r36 r38  
    6565         */
    6666        public String osmDataPassword = null;
     67        /**
     68         * The csv input style string or <code>null</code> for auto. The style is a
     69         * comma seperated list of identifiers as specified in the tooltip help text
     70         * of csvImportString in PreferenceDialog.
     71         *
     72         * @see org.openstreetmap.josm.gui.PreferenceDialog#csvImportString
     73         */
     74        public String csvImportString = null;
    6775
    6876        /**
     
    129137                                osmDataUsername = osmServer.getChildText("username");
    130138                                osmDataPassword = osmServer.getChildText("password");
     139                                csvImportString = osmServer.getChildText("csvImportString");
    131140                        }
    132141                        drawRawGpsLines = root.getChild("drawRawGpsLines") != null;
     
    158167                osmServer.getChildren().add(new Element("username").setText(osmDataUsername));
    159168                osmServer.getChildren().add(new Element("password").setText(osmDataPassword));
     169                osmServer.getChildren().add(new Element("csvImportString").setText(csvImportString));
    160170                children.add(osmServer);
    161171
Note: See TracChangeset for help on using the changeset viewer.