public class OsmExporter extends FileExporter
filter
Constructor and Description |
---|
OsmExporter() |
OsmExporter(ExtensionFileFilter filter) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptFile(File pathname,
Layer layer) |
void |
exportData(File file,
Layer layer) |
void |
exportData(File file,
Layer layer,
boolean noBackup) |
protected OutputStream |
getOutputStream(File file) |
private void |
save(File file,
OsmDataLayer layer,
boolean noBackup) |
activeLayerChange, isEnabled, layerAdded, layerRemoved, setEnabled
public OsmExporter()
public OsmExporter(ExtensionFileFilter filter)
public boolean acceptFile(File pathname, Layer layer)
acceptFile
in class FileExporter
public void exportData(File file, Layer layer) throws IOException
exportData
in class FileExporter
IOException
public void exportData(File file, Layer layer, boolean noBackup) throws IOException
IOException
protected OutputStream getOutputStream(File file) throws FileNotFoundException, IOException
FileNotFoundException
IOException
private void save(File file, OsmDataLayer layer, boolean noBackup)