public class NoteExporter extends FileExporter
| Modifier and Type | Field and Description |
|---|---|
static ExtensionFileFilter |
FILE_FILTER
File extension filter for .osn files
|
filter| Constructor and Description |
|---|
NoteExporter()
Create a new note exporter with the default .osn file filter
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptFile(java.io.File pathname,
Layer layer)
Check if this exporter can export a certain layer to a certain file.
|
void |
exportData(java.io.File file,
Layer layer)
Execute the data export.
|
activeOrEditLayerChanged, isCanceled, isEnabled, setCanceled, setEnabledpublic static final ExtensionFileFilter FILE_FILTER
public NoteExporter()
public boolean acceptFile(java.io.File pathname, Layer layer)
FileExporteracceptFile in class FileExporterpathname - the target file name (check file extension using the FileExporter.filterlayer - the layer requested for exportpublic void exportData(java.io.File file, Layer layer) throws java.io.IOException
FileExporterexportData in class FileExporterfile - target filelayer - the layer to exportjava.io.IOException - in case of an IO error