Class AbstractFileLayerSaver
java.lang.Object
org.openjump.core.ui.io.file.AbstractFileLayerSaver
- All Implemented Interfaces:
FileLayerSaver
- Direct Known Subclasses:
DataSourceFileLayerSaver
-
Field Summary
Fields inherited from interface FileLayerSaver
KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the descriptive name of the file format (e.g.Get the list of file extensions supported by the plug-in.Get the list of Options supported by the plug-in.abstract booleanWrite the file specified by the URI with the map of option values.
-
Constructor Details
-
AbstractFileLayerSaver
-
-
Method Details
-
getFileExtensions
Description copied from interface:FileLayerSaverGet the list of file extensions supported by the plug-in.- Specified by:
getFileExtensionsin interfaceFileLayerSaver- Returns:
- The list of file extensions.
-
getDescription
Description copied from interface:FileLayerSaverGet the descriptive name of the file format (e.g. ESRI Shapefile).- Specified by:
getDescriptionin interfaceFileLayerSaver- Returns:
- The file format name.
-
write
public abstract boolean write(TaskMonitor monitor, URI uri, Map<String, Object> options) throws ExceptionDescription copied from interface:FileLayerSaverWrite the file specified by the URI with the map of option values.- Specified by:
writein interfaceFileLayerSaver- 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
-
getOptionMetadata
Description copied from interface:FileLayerSaverGet the list of Options supported by the plug-in.- Specified by:
getOptionMetadatain interfaceFileLayerSaver- Returns:
- The list of Options.
-