source: josm/trunk/src/org/openstreetmap/josm/io/AllFormatsImporter.java@ 3083

Last change on this file since 3083 was 3083, checked in by bastiK, 14 years ago

added svn:eol-style=native to source files

  • Property svn:eol-style set to native
File size: 673 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.io;
3
4import static org.openstreetmap.josm.tools.I18n.tr;
5
6import java.io.File;
7
8import org.openstreetmap.josm.actions.ExtensionFileFilter;
9
10/**
11 * Dummy importer that adds the "All Formats"-Filter when opening files
12 */
13public class AllFormatsImporter extends FileImporter {
14 public AllFormatsImporter() {
15 super(new ExtensionFileFilter("osm,xml,osm.gz,osm.bz2,osm.bz,gpx,gpx.gz,nmea,nme,nma,log,txt,wms,jpg", "", tr("All Formats")
16 + " (*.gpx *.osm *.nmea *.jpg ...)"));
17 }
18 @Override public boolean acceptFile(File pathname) {
19 return false;
20 }
21}
Note: See TracBrowser for help on using the repository browser.