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 DataStoreProvider
DataStoreProvider.Prober<S> -
Field Summary
FieldsFields inherited from class AbstractProvider
MIME_TYPE, mimeForNameSpaces, mimeForRootElementsFields inherited from class URIDataStore.Provider
CREATE_PARAM, ENCODING, LOCATION_PARAMFields inherited from class 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 aStoreimplementation associated with this provider.Methods inherited from class AbstractProvider
probeContentMethods inherited from class DocumentedStoreProvider
getFormat, getFormatMethods inherited from class URIDataStore.Provider
build, connector, descriptor, getOpenParameters, isWritableMethods inherited from class DataStoreProvider
getLogger, getSupportedVersions, open, probeContent
-
Field Details
-
NAME
-
-
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:
getShortNamein classDocumentedStoreProvider- Returns:
- a short name or abbreviation for the data format.
- See Also:
-
open
Returns aStoreimplementation associated with this provider.- Specified by:
openin 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:
-