org.openstreetmap.josm.io
Class AllFormatsImporter

java.lang.Object
  extended by org.openstreetmap.josm.io.FileImporter
      extended by org.openstreetmap.josm.io.AllFormatsImporter
All Implemented Interfaces:
java.lang.Comparable<FileImporter>, MapView.LayerChangeListener

public class AllFormatsImporter
extends FileImporter

Dummy importer that adds the "All Formats"-Filter when opening files


Field Summary
 
Fields inherited from class org.openstreetmap.josm.io.FileImporter
filter
 
Constructor Summary
AllFormatsImporter()
           
 
Method Summary
 boolean acceptFile(java.io.File pathname)
           
private static java.lang.String getAllExtensions()
          Builds list of all supported extensions by the registered FileImporters.
 
Methods inherited from class org.openstreetmap.josm.io.FileImporter
activeLayerChange, compareTo, getBZip2InputStream, getGZipInputStream, getPriority, importData, importData, importDataHandleExceptions, importDataHandleExceptions, isBatchImporter, isEnabled, layerAdded, layerRemoved, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllFormatsImporter

public AllFormatsImporter()
Method Detail

acceptFile

public boolean acceptFile(java.io.File pathname)
Overrides:
acceptFile in class FileImporter

getAllExtensions

private static java.lang.String getAllExtensions()
Builds list of all supported extensions by the registered FileImporters.

Returns:
String comma separated list of supported file extensions


JOSM