Class StoreProvider
java.lang.Object
org.apache.sis.storage.DataStoreProvider
org.apache.sis.internal.storage.URIDataStore.Provider
org.apache.sis.internal.storage.DocumentedStoreProvider
org.apache.sis.internal.storage.xml.AbstractProvider
org.apache.sis.internal.storage.xml.StoreProvider
The provider of
Store
instances.- Since:
- 0.4
- Version:
- 1.2
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.storage.DataStoreProvider
DataStoreProvider.Prober<S>
-
Field Summary
FieldsFields inherited from class org.apache.sis.internal.storage.xml.AbstractProvider
MIME_TYPE, mimeForNameSpaces, mimeForRootElements
Fields inherited from class org.apache.sis.internal.storage.URIDataStore.Provider
CREATE_PARAM, ENCODING, LOCATION_PARAM
Fields inherited from class org.apache.sis.storage.DataStoreProvider
CREATE, LOCATION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a generic name for this data store, used mostly in warnings or error messages.open
(StorageConnector connector) Returns aStore
implementation associated with this provider.Methods inherited from class org.apache.sis.internal.storage.xml.AbstractProvider
probeContent
Methods inherited from class org.apache.sis.internal.storage.DocumentedStoreProvider
getFormat, getFormat
Methods inherited from class org.apache.sis.internal.storage.URIDataStore.Provider
build, connector, descriptor, getOpenParameters, isWritable
Methods inherited from class org.apache.sis.storage.DataStoreProvider
getLogger, getSupportedVersions, open, probeContent
-
Field Details
-
NAME
The format name.- See Also:
-
-
Constructor Details
-
StoreProvider
public StoreProvider()Creates a new provider.
-
-
Method Details
-
getShortName
Returns a generic name for this data store, used mostly in warnings or error messages.- Overrides:
getShortName
in classDocumentedStoreProvider
- Returns:
- a short name or abbreviation for the data format.
- See Also:
-
open
Returns aStore
implementation associated with this provider.- Specified by:
open
in classDataStoreProvider
- Parameters:
connector
- information about the storage (URL, stream, etc).- Returns:
- a data store implementation associated with this provider for the given storage.
- Throws:
DataStoreException
- if an error occurred while creating the data store instance.- See Also:
-