public class GeocoderContext extends Object implements GeocoderFactory, InteractiveGeocoderFactory
Modifier and Type | Class and Description |
---|---|
static class |
GeocoderContext.ClassLoaderConfiguration |
static class |
GeocoderContext.LibraryLoaderStrategy |
Constructor and Description |
---|
GeocoderContext() |
Modifier and Type | Method and Description |
---|---|
void |
addURLToExistingURLClassLoader(URL url) |
protected ClassLoader |
getContext(GeocoderContext.LibraryLoaderStrategy strategy,
List<Path> pathList,
Path localRequiredContextPaths) |
GeocodingAPI |
getGeocoder(Preferences preferences,
com.pb.geocoding.config.api.GeocodingConfiguration configuration) |
InteractiveGeocodingAPI |
getInteractive(Preferences preferences,
com.pb.geocoding.config.api.GeocodingConfiguration configuration) |
protected List<URL> |
getListOfFiles(GeocoderContext.LibraryLoaderStrategy strategy,
List<Path> pathList) |
protected List<URL> |
getListOfFiles(List<Path> libPath) |
protected List<URL> |
getListOfFiles(Path libPath) |
protected Path |
getPathHighestVersion(List<Path> pathList) |
protected ClassLoader getContext(GeocoderContext.LibraryLoaderStrategy strategy, List<Path> pathList, Path localRequiredContextPaths) throws GeocodingException
GeocodingException
public void addURLToExistingURLClassLoader(URL url) throws GeocodingException
GeocodingException
protected List<URL> getListOfFiles(GeocoderContext.LibraryLoaderStrategy strategy, List<Path> pathList)
public GeocodingAPI getGeocoder(Preferences preferences, com.pb.geocoding.config.api.GeocodingConfiguration configuration) throws GeocodingException
getGeocoder
in interface GeocoderFactory
preferences
- - default preferences that will be used for geocoderconfiguration
- - configuration used to create the geocoderGeocodingException
public InteractiveGeocodingAPI getInteractive(Preferences preferences, com.pb.geocoding.config.api.GeocodingConfiguration configuration) throws GeocodingException
getInteractive
in interface InteractiveGeocoderFactory
preferences
- - default preferences that will be used for geocoderconfiguration
- - configuration used to create the geocoderGeocodingException
Copyright © 2024. All rights reserved.