Changeset 30563 in osm for applications/editors/josm/plugins/opendata/modules/fr.toulouse/src
- Timestamp:
- 2014-08-05T13:53:46+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/opendata/modules/fr.toulouse/src/org/openstreetmap/josm/plugins/opendata/modules/fr/toulouse/datasets/transport
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/modules/fr.toulouse/src/org/openstreetmap/josm/plugins/opendata/modules/fr/toulouse/datasets/transport/ChantiersPonctuelsHandler.java
r30340 r30563 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.plugins.opendata.modules.fr.toulouse.datasets.transport; 3 4 import org.openstreetmap.josm.plugins.opendata.core.OdConstants; 3 5 4 6 public class ChantiersPonctuelsHandler extends ChantiersHandler { … … 6 8 public ChantiersPonctuelsHandler() { 7 9 super(14071, "Chantiers en cours (ponctuel)"); 8 getCsvHandler().setCharset(ISO8859_15); 10 getCsvHandler().setCharset(OdConstants.ISO8859_15); 9 11 } 10 12 -
applications/editors/josm/plugins/opendata/modules/fr.toulouse/src/org/openstreetmap/josm/plugins/opendata/modules/fr/toulouse/datasets/transport/ReseauTisseoHandler.java
r30340 r30563 8 8 import org.openstreetmap.josm.data.osm.DataSet; 9 9 import org.openstreetmap.josm.data.osm.OsmPrimitive; 10 import org.openstreetmap.josm.plugins.opendata.core.OdConstants; 10 11 import org.openstreetmap.josm.plugins.opendata.core.io.NeptuneReader; 11 12 import org.openstreetmap.josm.plugins.opendata.modules.fr.toulouse.datasets.ToulouseDataSetHandler; … … 25 26 @Override 26 27 public boolean acceptsFilename(String filename) { 27 return acceptsZipFilename(filename, "14022-reseau-tisseo-metro-bus-tram-") || filename.toLowerCase().endsWith(XML_EXT); 28 return acceptsZipFilename(filename, "14022-reseau-tisseo-metro-bus-tram-") || filename.toLowerCase().endsWith(OdConstants.XML_EXT); 28 29 } 29 30 30 31 @Override 31 32 public boolean acceptsFile(File file) { 32 return acceptsFilename(file.getName()) && (file.getName().toLowerCase().endsWith(ZIP_EXT) || NeptuneReader.acceptsXmlNeptuneFile(file, neptuneSchemaUrl)); 33 return acceptsFilename(file.getName()) 34 && (file.getName().toLowerCase().endsWith(OdConstants.ZIP_EXT) || NeptuneReader.acceptsXmlNeptuneFile(file, neptuneSchemaUrl)); 33 35 } 34 36 -
applications/editors/josm/plugins/opendata/modules/fr.toulouse/src/org/openstreetmap/josm/plugins/opendata/modules/fr/toulouse/datasets/transport/StationsAutoPartageHandler.java
r30340 r30563 4 4 import org.openstreetmap.josm.data.osm.DataSet; 5 5 import org.openstreetmap.josm.data.osm.Node; 6 import org.openstreetmap.josm.plugins.opendata.core.OdConstants; 6 7 import org.openstreetmap.josm.plugins.opendata.modules.fr.toulouse.datasets.ToulouseDataSetHandler; 7 8 … … 12 13 setName("Stations d'auto partage"); 13 14 setCategory(CAT_TRANSPORT); 14 getCsvHandler().setCharset(ISO8859_15); 15 getCsvHandler().setCharset(OdConstants.ISO8859_15); 15 16 } 16 17
Note:
See TracChangeset
for help on using the changeset viewer.