Class GeoprocessingRaster

All Implemented Interfaces:
RemoteResource

public final class GeoprocessingRaster extends GeoprocessingDataFile
Corresponds to GPRasterData and GPRasterDataLayer parameter types in the service REST specification.
Since:
100.0.0
  • Constructor Details

    • GeoprocessingRaster

      public GeoprocessingRaster()
      Creates an instance. The input url and format default to empty strings.
      Since:
      100.0.0
    • GeoprocessingRaster

      public GeoprocessingRaster(String inputUrl, String format)
      Creates an instance.
      Parameters:
      inputUrl - the url of the input file
      format - the format of the raster
      Throws:
      IllegalArgumentException - if inputUrl is null
      IllegalArgumentException - if format is null
      Since:
      100.0.0
  • Method Details

    • getFormat

      public String getFormat()
      Returns the format. By default this is an empty string.
      Returns:
      the format
      Since:
      100.0.0
    • setFormat

      public void setFormat(String format)
      Sets the format.
      Parameters:
      format - the format
      Throws:
      IllegalArgumentException - if format is null
      Since:
      100.0.0