Last change
on this file since 8308 was 7937, checked in by bastiK, 9 years ago |
add subversion property svn:eol=native
|
-
Property svn:eol-style
set to
native
|
File size:
771 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.io;
|
---|
3 |
|
---|
4 | import static org.openstreetmap.josm.tools.I18n.tr;
|
---|
5 |
|
---|
6 | import org.openstreetmap.josm.actions.ExtensionFileFilter;
|
---|
7 |
|
---|
8 | /**
|
---|
9 | * OSM data importer that uncompresses it from Zip format.
|
---|
10 | * @since 6882
|
---|
11 | */
|
---|
12 | public class OsmZipImporter extends OsmImporter {
|
---|
13 |
|
---|
14 | /**
|
---|
15 | * File filter used to load/save Zip compressed OSM files.
|
---|
16 | */
|
---|
17 | public static final ExtensionFileFilter FILE_FILTER = new ExtensionFileFilter(
|
---|
18 | "osm.zip", "osm.zip", tr("OSM Server Files zip compressed") + " (*.osm.zip)");
|
---|
19 |
|
---|
20 | /**
|
---|
21 | * Constructs a new {@code OsmZipImporter}.
|
---|
22 | */
|
---|
23 | public OsmZipImporter() {
|
---|
24 | super(FILE_FILTER);
|
---|
25 | }
|
---|
26 |
|
---|
27 | // compression handling is performed in super-class
|
---|
28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.