public interface LocationService
Modifier and Type | Method and Description |
---|---|
void |
init(java.lang.String serverURL, java.lang.String[] matchLayers)
Initialize the service with the specified server URL.
|
java.util.List<GeoAreaInfo> |
searchResult(java.util.List<java.lang.String> datas)
Return the geometric area informations of the data strings.
|
GeoAreaInfo |
searchResult(java.lang.String data)
Return the geometric area information of the data string.
|
void init(java.lang.String serverURL, java.lang.String[] matchLayers) throws java.io.IOException
serverURL
- the server URLmatchLayers
- optional - which layers should be used to searchjava.io.IOException
- thrown if an IOException occurs.java.util.List<GeoAreaInfo> searchResult(java.util.List<java.lang.String> datas) throws java.io.IOException
datas
- data stringsjava.io.IOException
- thrown if an IOException occurs.GeoAreaInfo searchResult(java.lang.String data) throws java.io.IOException
data
- data stringjava.io.IOException
- thrown if an IOException occurs.Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.