Class ShapefileWorkspace

java.lang.Object
com.esri.arcgisruntime.localserver.DynamicWorkspace
com.esri.arcgisruntime.localserver.ShapefileWorkspace

public final class ShapefileWorkspace extends DynamicWorkspace
A shapefile workspace can be used to create a SublayerSource that displays the data from a shapefile.
Since:
100.1.0
  • Constructor Details

    • ShapefileWorkspace

      public ShapefileWorkspace(String id, String folderPath)
      Creates a shapefile workspace.
      Parameters:
      id - the ID for the workspace
      folderPath - the path to a folder containing shapefiles
      Throws:
      IllegalArgumentException - if id is null or empty
      IllegalArgumentException - if folderPath is null or empty
      Since:
      100.1.0
  • Method Details

    • getFolderPath

      public String getFolderPath()
      Gets the folder path for this workspace.
      Returns:
      the folder path
      Since:
      100.1.0