Class DataSourceFileLayerSaver
java.lang.Object
org.openjump.core.ui.io.file.AbstractFileLayerSaver
org.openjump.core.ui.io.file.DataSourceFileLayerSaver
- All Implemented Interfaces:
FileLayerSaver
-
Field Summary
Fields inherited from interface FileLayerSaver
KEY -
Constructor Summary
ConstructorsConstructorDescriptionDataSourceFileLayerSaver(Layer layer, FileDataSourceQueryChooser fdsqc) DataSourceFileLayerSaver(Layer layer, Class dataSourceClass, String description, List<String> extensions) -
Method Summary
Methods inherited from class AbstractFileLayerSaver
getDescription, getFileExtensions, getOptionMetadata
-
Constructor Details
-
DataSourceFileLayerSaver
-
DataSourceFileLayerSaver
-
-
Method Details
-
write
Description copied from interface:FileLayerSaverWrite the file specified by the URI with the map of option values.- Specified by:
writein interfaceFileLayerSaver- Specified by:
writein classAbstractFileLayerSaver- Parameters:
monitor- The TaskMonitor.uri- The URI to the file to load.options- The map of options.- Returns:
- True if the file could be loaded false otherwise.
- Throws:
Exception- if an Exception occurred
-