public class DSFinderRepository extends Object implements Repository
Repository This class interprets the data source name as a file name or
an URL for a property file containing the ds creation parameters
For shape files ending with .shp or SHP, the shape file could be passed as name
| Constructor and Description |
|---|
DSFinderRepository() |
| Modifier and Type | Method and Description |
|---|---|
DataAccess<?,?> |
access(Name name)
Search for the DataAccess (may be a DataStore) by name.
|
void |
clear() |
DataStore |
dataStore(Name name)
Search for the DataStore by name.
|
List<DataStore> |
getDataStores()
List of available DataStore instances; these are considered to be live/connected datastores
under the management of the application and should not be closed or otherwise harmed by
client code.
|
protected URL |
getURLForLocation(String location) |
void |
initialize(Object source) |
public void clear()
protected URL getURLForLocation(String location) throws IOException
IOExceptionpublic void initialize(Object source)
public DataAccess<?,?> access(Name name)
Repositoryaccess in interface Repositoryname - The Name (namespace and name) to search forpublic DataStore dataStore(Name name)
RepositorydataStore in interface Repositorypublic List<DataStore> getDataStores()
RepositorygetDataStores in interface RepositoryCopyright © 1996–2019 Geotools. All rights reserved.