Class JGrassRasterMapReader.BuilderFromPathAndNames
- java.lang.Object
-
- org.hortonmachine.gears.io.grasslegacy.map.JGrassRasterMapReader.BuilderFromPathAndNames
-
- Enclosing class:
- JGrassRasterMapReader
public static class JGrassRasterMapReader.BuilderFromPathAndNames extends Object
Builder to createJGrassRasterMapReaderthrough the path of the Location and the name of Mapset and Map.Required parameters are:
- the region to read
- the path to the Location
- the name of the mapset
- the name of 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 BuilderFromPathAndNames(Window readWindow, String mapName, String mapsetName, String locationPath)Constructor for theBuilderFromGeoresourcewith the required paraeters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JGrassRasterMapReaderbuild()Builds theJGrassRasterMapReader.JGrassRasterMapReader.BuilderFromPathAndNamesmaptype(String maptype)Sets the optional maptype value.JGrassRasterMapReader.BuilderFromPathAndNamesmonitor(IHMProgressMonitor monitor)Sets the optional monitor object.JGrassRasterMapReader.BuilderFromPathAndNamesnovalue(double novalue)Sets the optional novalue.
-
-
-
Method Detail
-
novalue
public JGrassRasterMapReader.BuilderFromPathAndNames novalue(double novalue)
Sets the optional novalue.- Parameters:
novalue- the novalue to be used.- Returns:
- the builder object to allow chaining.
-
maptype
public JGrassRasterMapReader.BuilderFromPathAndNames 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.BuilderFromPathAndNames 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.
-
-