Package org.geotools.data.gen
Class DSFinderRepository
- Object
- 
- DSFinderRepository
 
- 
- All Implemented Interfaces:
- Repository
 
 public class DSFinderRepository extends Object implements Repository Implementation ofRepositoryThis class interprets the data source name as a file name or an URL for a property file containing the ds creation parametersFor shape files ending with .shp or SHP, the shape file could be passed as name - Author:
- Christian Mueller
 
- 
- 
Constructor SummaryConstructors Constructor Description DSFinderRepository()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DataAccess<?,?>access(Name name)Search for the DataAccess (may be a DataStore) by name.voidclear()DataStoredataStore(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 URLgetURLForLocation(String location)voidinitialize(Object source)
 
- 
- 
- 
Method Detail- 
clearpublic void clear() 
 - 
getURLForLocationprotected URL getURLForLocation(String location) throws IOException - Throws:
- IOException
 
 - 
initializepublic void initialize(Object source) 
 - 
accesspublic DataAccess<?,?> access(Name name) Description copied from interface:RepositorySearch for the DataAccess (may be a DataStore) by name.- Specified by:
- accessin interface- Repository
- Parameters:
- name- The Name (namespace and name) to search for
- Returns:
- DataAccess
 
 - 
dataStorepublic DataStore dataStore(Name name) Description copied from interface:RepositorySearch for the DataStore by name.- Specified by:
- dataStorein interface- Repository
- Parameters:
- name- The typeName (namespace and name) to search for
- Returns:
- DataAccess api providing access to the indicatedTypeName (or null if not found)
 
 - 
getDataStorespublic List<DataStore> getDataStores() Description copied from interface:RepositoryList 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:
- getDataStoresin interface- Repository
- Returns:
- List of Managed DataStore instances
 
 
- 
 
-