Interface FileLayerSaver

All Known Implementing Classes:
AbstractFileLayerSaver, DataSourceFileLayerSaver

public interface FileLayerSaver
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The key in the registry where loaders are registered.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get 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.
    boolean
    write(TaskMonitor monitor, URI uri, Map<String,Object> options)
    Write the file specified by the URI with the map of option values.
  • Field Details

    • KEY

      static final String KEY
      The key in the registry where loaders are registered.
  • Method Details

    • getFileExtensions

      Collection<String> getFileExtensions()
      Get the list of file extensions supported by the plug-in.
      Returns:
      The list of file extensions.
    • getDescription

      String getDescription()
      Get the descriptive name of the file format (e.g. ESRI Shapefile).
      Returns:
      The file format name.
    • write

      boolean write(TaskMonitor monitor, URI uri, Map<String,Object> options) throws Exception
      Write the file specified by the URI with the map of option values.
      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

      List<Option> getOptionMetadata()
      Get the list of Options supported by the plug-in.
      Returns:
      The list of Options.