net.sourceforge.jgeocoder.us
Class AddressParser
java.lang.Object
net.sourceforge.jgeocoder.us.AddressParser
public class AddressParser
- extends Object
TODO javadocs me
- Author:
- jliang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddressParser
public AddressParser()
parseAddress
public static Map<AddressComponent,String> parseAddress(String rawAddr,
boolean autoCorrectStateSpelling)
- Parses a raw address string
- Parameters:
rawAddr
- autoCorrectStateSpelling
- swith on/off auto correction on state mis-spelling
- Returns:
- a map of parsed address components
parseAddress
public static Map<AddressComponent,String> parseAddress(String rawAddr)
- Parses a raw address string, this delegates to parseAddress(String, boolean) with autoCorrectStateSpelling set to false
- Parameters:
rawAddr
-
- Returns:
- a map of parsed address components
Copyright © 2008. All Rights Reserved.