com.google.maps

Class GeocodingApi.ComponentFilter

  • java.lang.Object
    • com.google.maps.GeocodingApi.ComponentFilter
  • All Implemented Interfaces:
    com.google.maps.internal.StringJoin.UrlValue
    Enclosing class:
    GeocodingApi


    public static class GeocodingApi.ComponentFilterextends java.lang.Objectimplements com.google.maps.internal.StringJoin.UrlValue
    This class represents a component filter for a geocode request. In a geocoding response, the Google Geocoding API can return address results restricted to a specific area. The restriction is specified using the components filter.

    Please see Component Filtering for more detail.

    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toUrlValue

        public java.lang.String toUrlValue()
        Specified by:
        toUrlValue in interface com.google.maps.internal.StringJoin.UrlValue
      • locality

        public static GeocodingApi.ComponentFilter locality(java.lang.String locality)
        locality matches against both locality and sublocality types.
      • administrativeArea

        public static GeocodingApi.ComponentFilter administrativeArea(java.lang.String administrativeArea)
        administrativeArea matches all the administrative area levels.
      • postalCode

        public static GeocodingApi.ComponentFilter postalCode(java.lang.String postalCode)
        postalCode matches postal code and postal code prefix.
      • country

        public static GeocodingApi.ComponentFilter country(java.lang.String country)
        country matches a country name or a two letter ISO 3166-1 country code.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14