Package org.geotools.data.gen
Class DSFinderRepository
Object
DSFinderRepository
- All Implemented Interfaces:
Repository
Implementation of
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
- Author:
- Christian Mueller
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDataAccess<?,
?> Search for the DataAccess (may be a DataStore) by name.void
clear()
Search for the DataStore by name.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)
-
Constructor Details
-
DSFinderRepository
public DSFinderRepository()
-
-
Method Details
-
clear
public void clear() -
getURLForLocation
- Throws:
IOException
-
initialize
-
access
Description copied from interface:Repository
Search for the DataAccess (may be a DataStore) by name.- Specified by:
access
in interfaceRepository
- Parameters:
name
- The Name (namespace and name) to search for- Returns:
- DataAccess
-
dataStore
Description copied from interface:Repository
Search for the DataStore by name.- Specified by:
dataStore
in interfaceRepository
- Parameters:
name
- The typeName (namespace and name) to search for- Returns:
- DataAccess api providing access to the indicatedTypeName (or null if not found)
-
getDataStores
Description copied from interface:Repository
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.- Specified by:
getDataStores
in interfaceRepository
- Returns:
- List of Managed DataStore instances
-