Last change
on this file since 11002 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
|
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 exporter that compresses it in Bzip2 format.
|
---|
10 | */
|
---|
11 | public class OsmBzip2Exporter extends OsmExporter {
|
---|
12 |
|
---|
13 | /**
|
---|
14 | * Constructs a new {@code OsmBzip2Exporter}.
|
---|
15 | */
|
---|
16 | public OsmBzip2Exporter() {
|
---|
17 | super(new ExtensionFileFilter(
|
---|
18 | "osm.bz2,osm.bz", "osm.bz2", tr("OSM Server Files bzip2 compressed") + " (*.osm.bz2, *.osm.bz)"));
|
---|
19 | }
|
---|
20 |
|
---|
21 | // compression handling is performed in super-class
|
---|
22 |
|
---|
23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.