com.ontimize.util.gis.extension.google
Class GoogleUtils
java.lang.Object
com.ontimize.util.gis.extension.google.GoogleUtils
public class GoogleUtils
- extends java.lang.Object
|
Method Summary |
static java.lang.String |
correctString(java.lang.String badString)
|
static void |
main(java.lang.String[] args)
|
static java.util.Hashtable |
searchOnGoogle(java.lang.String searchString)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR_GETGOOGLE_UNKNOWN
protected static final java.lang.String ERROR_GETGOOGLE_UNKNOWN
- See Also:
- Constant Field Values
ERROR_GETGOOGLE_NOT_FOUND
protected static final java.lang.String ERROR_GETGOOGLE_NOT_FOUND
- See Also:
- Constant Field Values
ERROR_GETGOOGLE_FIELDS_LEFT
protected static final java.lang.String ERROR_GETGOOGLE_FIELDS_LEFT
- See Also:
- Constant Field Values
prefixUrl
public static final java.lang.String prefixUrl
- See Also:
- Constant Field Values
prefixUrlLatLon
public static final java.lang.String prefixUrlLatLon
- See Also:
- Constant Field Values
sufixUrl
public static final java.lang.String sufixUrl
- See Also:
- Constant Field Values
sufixUrlXml
public static final java.lang.String sufixUrlXml
- See Also:
- Constant Field Values
GoogleUtils
public GoogleUtils()
searchOnGoogle
public static java.util.Hashtable searchOnGoogle(java.lang.String searchString)
- Parameters:
searchString - Interest location search string
- Returns:
- Hashtable with the next data:
- errorMessage: Message when the search finished with errors
- address: Address found text
- pos_x: Longitude double value
- pos_y: Latitude double value
correctString
public static java.lang.String correctString(java.lang.String badString)
main
public static void main(java.lang.String[] args)