org.openstreetmap.josm.io
Class OsmExporter
java.lang.Object
org.openstreetmap.josm.io.FileExporter
org.openstreetmap.josm.io.OsmExporter
- All Implemented Interfaces:
- MapView.LayerChangeListener
- Direct Known Subclasses:
- OsmBzip2Exporter, OsmGzipExporter
public class OsmExporter
- extends FileExporter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OsmExporter
public OsmExporter()
OsmExporter
public OsmExporter(ExtensionFileFilter filter)
acceptFile
public boolean acceptFile(java.io.File pathname,
Layer layer)
- Overrides:
acceptFile
in class FileExporter
exportData
public void exportData(java.io.File file,
Layer layer)
throws java.io.IOException
- Overrides:
exportData
in class FileExporter
- Throws:
java.io.IOException
exportData
public void exportData(java.io.File file,
Layer layer,
boolean noBackup)
throws java.io.IOException
- Throws:
java.io.IOException
getOutputStream
protected java.io.OutputStream getOutputStream(java.io.File file)
throws java.io.FileNotFoundException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
java.io.IOException
save
private void save(java.io.File file,
OsmDataLayer layer,
boolean noBackup)
copy
private void copy(java.io.File src,
java.io.File dst)
throws java.io.IOException
- Throws:
java.io.IOException
JOSM