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 aSublayerSource
that displays the data from a shapefile.- Since:
- 100.1.0
-
-
Constructor Summary
Constructors Constructor Description ShapefileWorkspace(String id, String folderPath)
Creates a shapefile workspace.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFolderPath()
Gets the folder path for this workspace.-
Methods inherited from class com.esri.arcgisruntime.localserver.DynamicWorkspace
getId
-
-
-
-
Constructor Detail
-
ShapefileWorkspace
public ShapefileWorkspace(String id, String folderPath)
Creates a shapefile workspace.- Parameters:
id
- the ID for the workspacefolderPath
- the path to a folder containing shapefiles- Throws:
IllegalArgumentException
- if id is null or emptyIllegalArgumentException
- if folderPath is null or empty- Since:
- 100.1.0
-
-
Method Detail
-
getFolderPath
public String getFolderPath()
Gets the folder path for this workspace.- Returns:
- the folder path
- Since:
- 100.1.0
-
-