GeoConverters.StringToPointConverter
instead.@ReadingConverter public static enum GeoConverters.StringToGeoLocationConverter extends Enum<GeoConverters.StringToGeoLocationConverter> implements Converter<String,GeoLocation>
GeoLocation
Enum Constant and Description |
---|
INSTANCE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
GeoLocation |
convert(String source)
Deprecated.
|
static GeoConverters.StringToGeoLocationConverter |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static GeoConverters.StringToGeoLocationConverter[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoConverters.StringToGeoLocationConverter INSTANCE
public static GeoConverters.StringToGeoLocationConverter[] values()
for (GeoConverters.StringToGeoLocationConverter c : GeoConverters.StringToGeoLocationConverter.values()) System.out.println(c);
public static GeoConverters.StringToGeoLocationConverter valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic GeoLocation convert(String source)
convert
in interface Converter<String,GeoLocation>
Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.