Class Address


public class Address extends AbstractProvider<BaseProviders>
Since:
0.8.0
  • Constructor Details

  • Method Details

    • streetName

      public String streetName()
    • streetAddressNumber

      public String streetAddressNumber()
    • streetAddress

      public String streetAddress()
    • streetAddress

      public String streetAddress(boolean includeSecondary)
    • secondaryAddress

      public String secondaryAddress()
    • zipCode

      public String zipCode()
      Returns a String representing a standard 5-digit zip code.
      Returns:
      a String representing a standard zip code
    • postcode

      public String postcode()
    • zipCodePlus4

      public String zipCodePlus4()
      Returns a String representing a ZIP+4 code for greater geographic specificity. This is a 9-digit zip code, but the String itself is 10 characters including the hyphen.
      Returns:
      a String representing a ZIP+4 code
    • zipCodeByState

      public String zipCodeByState(String stateAbbr)
    • countyByZipCode

      public String countyByZipCode(String postCode)
    • streetSuffix

      public String streetSuffix()
    • streetPrefix

      public String streetPrefix()
    • citySuffix

      public String citySuffix()
    • cityPrefix

      public String cityPrefix()
    • city

      public String city()
    • cityName

      public String cityName()
    • state

      public String state()
    • stateAbbr

      public String stateAbbr()
    • latitude

      public String latitude()
      Returns:
      Returns the latitude, a number between -90 to 90.
    • longitude

      public String longitude()
      Returns:
      Returns the longitude, a number between -180 and 180
    • latLon

      public String latLon()
      Returns:
      Returns the lat/lon coordinates formatted as lat,lon.
    • latLon

      public String latLon(String delimiter)
      Returns:
      Returns the lat/lon coordinates formatted as lat delimiter lon.
    • lonLat

      public String lonLat()
      Returns:
      Returns the lat/lon coordinates formatted as lon,lat.
    • lonLat

      public String lonLat(String delimiter)
      Returns:
      Returns the lat/lon coordinates formatted as lon delimiter lat.
    • timeZone

      public String timeZone()
    • country

      public String country()
    • countryCode

      public String countryCode()
    • buildingNumber

      public String buildingNumber()
    • fullAddress

      public String fullAddress()
    • mailBox

      public String mailBox()