public abstract class AbstractDataStoreProviderFactory extends Object implements DataStoreProviderFactory
NO, UNKNOWN, YES
Modifier | Constructor and Description |
---|---|
protected |
AbstractDataStoreProviderFactory(String name,
String description) |
Modifier and Type | Method and Description |
---|---|
int |
allowCreate()
The provider can create new stores.
|
int |
allowRead()
The provider has read support
|
int |
allowWrite()
The provider has write support
|
Provider |
create(DynObject parameters,
ProviderServices services)
Creates a new
Provider . |
String |
getDescription()
Return a short descripion about the provider
|
String |
getName()
Returns the name of the provider
|
int |
hasRasterSupport()
The provider has raster support.
|
int |
hasTabularSupport()
The provider has tabular support.
|
int |
hasVectorialSupport()
The provider has vectorial support.
|
void |
initialize()
Initialices the factory.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createProvider
createParameters
public final Provider create(DynObject parameters, ProviderServices services) throws ServiceException
ProviderFactory
Provider
.create
in interface ProviderFactory
parameters
- for the Provider
services
- to be used by the Provider
Provider
ServiceException
- if the parameters are not valid or there is an error creating
the Provider
public final void initialize()
ProviderFactory
initialize
in interface ProviderFactory
public final String getName()
DataStoreProviderFactory
getName
in interface DataStoreProviderFactory
getName
in interface ProviderFactory
public final String getDescription()
DataStoreProviderFactory
getDescription
in interface DataStoreProviderFactory
public int allowRead()
DataStoreProviderFactory
allowRead
in interface DataStoreProviderFactory
public int allowWrite()
DataStoreProviderFactory
allowWrite
in interface DataStoreProviderFactory
public int allowCreate()
DataStoreProviderFactory
allowCreate
in interface DataStoreProviderFactory
public int hasTabularSupport()
DataStoreProviderFactory
hasTabularSupport
in interface DataStoreProviderFactory
public int hasVectorialSupport()
DataStoreProviderFactory
hasVectorialSupport
in interface DataStoreProviderFactory
public int hasRasterSupport()
DataStoreProviderFactory
hasRasterSupport
in interface DataStoreProviderFactory