Class RasterWorkspace
- java.lang.Object
-
- com.esri.arcgisruntime.localserver.DynamicWorkspace
-
- com.esri.arcgisruntime.localserver.RasterWorkspace
-
public final class RasterWorkspace extends DynamicWorkspace
A raster workspace can be used with aRasterSublayerSource
to create a SublayerSource that displays a raster image.
Note aFileGeodatabaseWorkspace
andEnterpriseGeodatabaseWorkspace
can also be used with a RasterSublayerSource.- Since:
- 100.1.0
-
-
Constructor Summary
Constructors Constructor Description RasterWorkspace(String id, String folderPath)
Creates a raster 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
-
RasterWorkspace
public RasterWorkspace(String id, String folderPath)
Creates a raster workspace.- Parameters:
id
- the ID for the workspacefolderPath
- the path of the folder containing the raster- Throws:
IllegalArgumentException
- if id is null or emptyIllegalArgumentException
- if folder path 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
-
-