source: josm/trunk/src/org/openstreetmap/josm/gui/io/importexport/OsmBzip2Exporter.java@ 12671

Last change on this file since 12671 was 12671, checked in by Don-vip, 7 years ago

see #15182 - move file importers/exporters from io package to gui.io.importexport package, as they rely heavily on GUI and are mainly used from Open/Save actions

  • Property svn:eol-style set to native
File size: 646 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.io.importexport;
3
4import static org.openstreetmap.josm.tools.I18n.tr;
5
6import org.openstreetmap.josm.actions.ExtensionFileFilter;
7
8/**
9 * OSM data exporter that compresses it in Bzip2 format.
10 */
11public 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.