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
IOException
public void initialize(Object source)
public DataAccess<?,?> access(Name name)
Repository
access
in interface Repository
name
- The Name (namespace and name) to search forpublic DataStore dataStore(Name name)
Repository
dataStore
in interface Repository
public List<DataStore> getDataStores()
Repository
getDataStores
in interface Repository
Copyright © 1996–2019 Geotools. All rights reserved.