Last change
on this file since 12288 was 9537, checked in by bastiK, 8 years ago |
applied #12370 - adapted osm file filter to other file types (patch by kolesar)
|
-
Property svn:eol-style
set to
native
|
File size:
604 bytes
|
Rev | Line | |
---|
[1949] | 1 | // License: GPL. For details, see LICENSE file.
|
---|
| 2 | package org.openstreetmap.josm.io;
|
---|
| 3 |
|
---|
[9537] | 4 | import static org.openstreetmap.josm.tools.I18n.tr;
|
---|
| 5 |
|
---|
| 6 | import org.openstreetmap.josm.actions.ExtensionFileFilter;
|
---|
| 7 |
|
---|
[6718] | 8 | /**
|
---|
| 9 | * OSM data exporter that compresses it in GZip format.
|
---|
| 10 | */
|
---|
[1949] | 11 | public class OsmGzipExporter extends OsmExporter {
|
---|
| 12 |
|
---|
[6718] | 13 | /**
|
---|
| 14 | * Constructs a new {@code OsmGzipExporter}.
|
---|
| 15 | */
|
---|
[1949] | 16 | public OsmGzipExporter() {
|
---|
[9537] | 17 | super(new ExtensionFileFilter(
|
---|
| 18 | "osm.gz", "osm.gz", tr("OSM Server Files gzip compressed") + " (*.osm.gz)"));
|
---|
[1949] | 19 | }
|
---|
| 20 |
|
---|
[6718] | 21 | // compression handling is performed in super-class
|
---|
[6716] | 22 |
|
---|
[1949] | 23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.