Changeset 6244 in josm for trunk/src/org/openstreetmap/josm/io/OsmServerReader.java
- Timestamp:
- 2013-09-21T13:19:50+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmServerReader.java
r6089 r6244 34 34 private boolean doAuthenticate = false; 35 35 protected boolean gpxParsedProperly; 36 37 protected enum Compression { 38 NONE, 39 BZIP2, 40 GZIP 41 } 36 42 37 43 /** … … 162 168 } 163 169 170 /** 171 * Download OSM files from somewhere 172 * @param progressMonitor The progress monitor 173 * @return The corresponding dataset 174 * @throws OsmTransferException if any error occurs 175 */ 164 176 public abstract DataSet parseOsm(final ProgressMonitor progressMonitor) throws OsmTransferException; 165 177 178 /** 179 * Download OSM Change files from somewhere 180 * @param progressMonitor The progress monitor 181 * @return The corresponding dataset 182 * @throws OsmTransferException if any error occurs 183 */ 166 184 public DataSet parseOsmChange(final ProgressMonitor progressMonitor) throws OsmTransferException { 167 185 return null; 168 186 } 169 187 188 /** 189 * Download BZip2-compressed OSM Change files from somewhere 190 * @param progressMonitor The progress monitor 191 * @return The corresponding dataset 192 * @throws OsmTransferException if any error occurs 193 */ 170 194 public DataSet parseOsmChangeBzip2(final ProgressMonitor progressMonitor) throws OsmTransferException { 171 195 return null; 172 196 } 173 197 198 /** 199 * Download GZip-compressed OSM Change files from somewhere 200 * @param progressMonitor The progress monitor 201 * @return The corresponding dataset 202 * @throws OsmTransferException if any error occurs 203 */ 174 204 public DataSet parseOsmChangeGzip(final ProgressMonitor progressMonitor) throws OsmTransferException { 175 205 return null; 176 206 } 177 207 208 /** 209 * Retrieve raw gps waypoints from the server API. 210 * @param progressMonitor The progress monitor 211 * @return The corresponding GPX tracks 212 * @throws OsmTransferException if any error occurs 213 */ 178 214 public GpxData parseRawGps(final ProgressMonitor progressMonitor) throws OsmTransferException { 179 215 return null; 180 216 } 181 217 218 /** 219 * Retrieve BZip2-compressed GPX files from somewhere. 220 * @param progressMonitor The progress monitor 221 * @return The corresponding GPX tracks 222 * @throws OsmTransferException if any error occurs 223 * @since 6244 224 */ 225 public GpxData parseRawGpsBzip2(final ProgressMonitor progressMonitor) throws OsmTransferException { 226 return null; 227 } 228 229 /** 230 * Download BZip2-compressed OSM files from somewhere 231 * @param progressMonitor The progress monitor 232 * @return The corresponding dataset 233 * @throws OsmTransferException if any error occurs 234 */ 182 235 public DataSet parseOsmBzip2(final ProgressMonitor progressMonitor) throws OsmTransferException { 183 236 return null; 184 237 } 185 238 239 /** 240 * Download GZip-compressed OSM files from somewhere 241 * @param progressMonitor The progress monitor 242 * @return The corresponding dataset 243 * @throws OsmTransferException if any error occurs 244 */ 186 245 public DataSet parseOsmGzip(final ProgressMonitor progressMonitor) throws OsmTransferException { 187 246 return null;
Note:
See TracChangeset
for help on using the changeset viewer.
