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, setEnabledpublic OsmExporter()
public OsmExporter(ExtensionFileFilter filter)
public boolean acceptFile(File pathname, Layer layer)
acceptFile in class FileExporterpublic void exportData(File file, Layer layer) throws IOException
exportData in class FileExporterIOExceptionpublic void exportData(File file, Layer layer, boolean noBackup) throws IOException
IOExceptionprotected OutputStream getOutputStream(File file) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionprivate void save(File file, OsmDataLayer layer, boolean noBackup)