Class StringToPointConverter

java.lang.Object
org.bremersee.geojson.converter.StringToPointConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,org.locationtech.jts.geom.Point>

public class StringToPointConverter extends Object implements org.springframework.core.convert.converter.Converter<String,org.locationtech.jts.geom.Point>
The string to point converter.
Author:
Christian Bremer
  • Constructor Details

    • StringToPointConverter

      public StringToPointConverter(GeoJsonGeometryFactory geometryFactory)
      Instantiates a new string to point converter.
      Parameters:
      geometryFactory - the geometry factory
  • Method Details

    • convert

      public org.locationtech.jts.geom.Point convert(@NonNull String source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<String,org.locationtech.jts.geom.Point>