Package com.luciad.layers.grids.mgrs
Class MgrsGrid.AdvancedBuilder
java.lang.Object
com.luciad.layers.grids.mgrs.MgrsGrid.AdvancedBuilder
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
MgrsGrid
Advanced builder for a MGRS grid.
- Since:
- 2023.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the MGRS grid.void
close()
protected void
finalize()
setting
(MgrsGridSetting gridSetting) Includes the setting within the MGRS grid.
-
Constructor Details
-
AdvancedBuilder
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
build
Returns the MGRS grid.- Returns:
- the MGRS grid.
- Throws:
IllegalStateException
- when the settings are invalid.- See Also:
-
setting
@NotNull public MgrsGrid.AdvancedBuilder setting(@NotNull MgrsGridSetting gridSetting) throws IllegalArgumentException Includes the setting within the MGRS grid.- Parameters:
gridSetting
- the MGRS grid setting.- Returns:
- this builder.
- Throws:
IllegalArgumentException
- when an invalid setting is passed.
-