Class JGrassRasterMapReader.BuilderFromMapPath
- java.lang.Object
-
- org.hortonmachine.gears.io.grasslegacy.map.JGrassRasterMapReader.BuilderFromMapPath
-
- Enclosing class:
- JGrassRasterMapReader
public static class JGrassRasterMapReader.BuilderFromMapPath extends Object
Builder to createJGrassRasterMapReaderthrough the path of the Map.Required parameters are:
- the region to read
- the path to the map
Optional parameters are:
- the number to use internally instead of the map novalues
- the raster map type to read (ex.
GrassLegacyConstans.GRASSBINARYRASTERMAP) - a monitor object
-
-
Constructor Summary
Constructors Constructor Description BuilderFromMapPath(Window readWindow, String mapPath)Constructor for theBuilderFromGeoresourcewith the required parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JGrassRasterMapReaderbuild()Builds theJGrassRasterMapReader.JGrassRasterMapReader.BuilderFromMapPathmaptype(String maptype)Sets the optional maptype value.JGrassRasterMapReader.BuilderFromMapPathmonitor(IHMProgressMonitor monitor)Sets the optional monitor object.JGrassRasterMapReader.BuilderFromMapPathnovalue(double novalue)Sets the optional novalue.
-
-
-
Method Detail
-
novalue
public JGrassRasterMapReader.BuilderFromMapPath novalue(double novalue)
Sets the optional novalue.- Parameters:
novalue- the novalue to be used.- Returns:
- the builder object to allow chaining.
-
maptype
public JGrassRasterMapReader.BuilderFromMapPath maptype(String maptype)
Sets the optional maptype value.- Parameters:
maptype- the maptype to be used.- Returns:
- the builder object to allow chaining.
-
monitor
public JGrassRasterMapReader.BuilderFromMapPath monitor(IHMProgressMonitor monitor)
Sets the optional monitor object.- Parameters:
monitor- the monitor to be used.- Returns:
- the builder object to allow chaining.
-
build
public JGrassRasterMapReader build()
Builds theJGrassRasterMapReader.- Returns:
- the JGrassRasterMapReader with the supplied parameters.
-
-