Enum Class DistanceFormatter

java.lang.Object
java.lang.Enum<DistanceFormatter>
org.springframework.data.geo.format.DistanceFormatter
All Implemented Interfaces:
Serializable, Comparable<DistanceFormatter>, Constable, Converter<String,Distance>, Formatter<Distance>, Parser<Distance>, Printer<Distance>

public enum DistanceFormatter extends Enum<DistanceFormatter> implements Converter<String,Distance>, Formatter<Distance>
Converter to create Distance instances from String representations. The supported format is a decimal followed by whitespace and a metric abbreviation. We currently support the following abbreviations: SUPPORTED_METRICS.
Author:
Oliver Gierke, Christoph Strobl