Package org.bremersee.geojson.converter
Class StringToPolygonConverter
java.lang.Object
org.bremersee.geojson.converter.StringToPolygonConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,org.locationtech.jts.geom.Polygon>
public class StringToPolygonConverter
extends Object
implements org.springframework.core.convert.converter.Converter<String,org.locationtech.jts.geom.Polygon>
The string to polygon converter.
- Author:
- Christian Bremer
-
Constructor Summary
ConstructorsConstructorDescriptionStringToPolygonConverter(GeoJsonGeometryFactory geometryFactory) Instantiates a new string to polygon converter. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
StringToPolygonConverter
Instantiates a new string to polygon converter.- Parameters:
geometryFactory- the geometry factory
-
-
Method Details
-
convert
- Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<String,org.locationtech.jts.geom.Polygon>
-