Last change
on this file since 11381 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:
629 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 Bzip2 format.
|
---|
| 10 | */
|
---|
[1949] | 11 | public class OsmBzip2Exporter extends OsmExporter {
|
---|
| 12 |
|
---|
[6289] | 13 | /**
|
---|
| 14 | * Constructs a new {@code OsmBzip2Exporter}.
|
---|
| 15 | */
|
---|
[1949] | 16 | public OsmBzip2Exporter() {
|
---|
[9537] | 17 | super(new ExtensionFileFilter(
|
---|
| 18 | "osm.bz2,osm.bz", "osm.bz2", tr("OSM Server Files bzip2 compressed") + " (*.osm.bz2, *.osm.bz)"));
|
---|
[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.