Class NoteExporter

    • Constructor Detail

      • NoteExporter

        public NoteExporter()
        Create a new note exporter with the default .osn file filter
    • Method Detail

      • acceptFile

        public boolean acceptFile​(File pathname,
                                  Layer layer)
        Description copied from class: FileExporter
        Check if this exporter can export a certain layer to a certain file. Most exporters support just a single layer type.
        Overrides:
        acceptFile in class FileExporter
        Parameters:
        pathname - the target file name (check file extension using the FileExporter.filter
        layer - the layer requested for export
        Returns:
        true, if the exporter can handle the layer and filename is okay