Class StringToWriteConcernConverter

java.lang.Object
org.springframework.data.mongodb.config.StringToWriteConcernConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,com.mongodb.WriteConcern>

public class StringToWriteConcernConverter extends Object implements org.springframework.core.convert.converter.Converter<String,com.mongodb.WriteConcern>
Converter to create WriteConcern instances from String representations.
Author:
Oliver Gierke
  • Constructor Details

    • StringToWriteConcernConverter

      public StringToWriteConcernConverter()
  • Method Details

    • convert

      public com.mongodb.WriteConcern convert(String source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<String,com.mongodb.WriteConcern>