Class StringToMultiLineStringConverter

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

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

    • StringToMultiLineStringConverter

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

    • convert

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