Class GeoHeifStoreProvider
Object
DataStoreProvider
GeoHeifStoreProvider
The provider of
GeoHeifStore instances.
Given a StorageConnector input, this class tries to instantiate a GeoHeifStore.-
Nested Class Summary
Nested classes/interfaces inherited from class DataStoreProvider
DataStoreProvider.Prober<S>Modifier and TypeClassDescriptionprotected static interfaceAn action to execute for testing if aStorageConnectorinput can be read. -
Field Summary
Fields inherited from class DataStoreProvider
CREATE, LOCATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a description of all parameters accepted by this provider for opening a GeoHEIF file.Returns a generic name for this data store, used mostly in warnings or error messages.open(StorageConnector connector) Creates aGeoHeifStoreinstance associated with this provider.probeContent(StorageConnector connector) Returns the MIME type if the given storage appears to be supported byGeoHeifStore.Methods inherited from class DataStoreProvider
getFormat, getLogger, getSupportedVersions, open, probeContentModifier and TypeMethodDescriptionReturns a description of the data format.Returns the logger where to report warnings or loading operations.Returns the range of versions supported by the data store, ornullif unspecified.open(ParameterValueGroup parameters) Creates a data store instance associated with this provider for the given parameters.protected <S> ProbeResultprobeContent(StorageConnector connector, Class<S> type, DataStoreProvider.Prober<? super S> prober) Applies the specified test on the storage content without modifying buffer or input stream position.
-
Constructor Details
-
GeoHeifStoreProvider
public GeoHeifStoreProvider()Creates a new provider.
-
-
Method Details
-
getShortName
Returns a generic name for this data store, used mostly in warnings or error messages.- Specified by:
getShortNamein classDataStoreProvider- Returns:
- a short name or abbreviation for the data format.
- See Also:
-
getOpenParameters
Returns a description of all parameters accepted by this provider for opening a GeoHEIF file.- Specified by:
getOpenParametersin classDataStoreProvider- Returns:
- description of available parameters for opening a GeoHEIF file.
- See Also:
-
probeContent
Returns the MIME type if the given storage appears to be supported byGeoHeifStore. A supported status does not guarantee that reading or writing will succeed, only that there appears to be a reasonable chance of success based on a brief inspection of the file header.- Specified by:
probeContentin classDataStoreProvider- Parameters:
connector- information about the storage (URL, stream, etc).- Returns:
- a supported status with the MIME type
if the given storage seems to be readable by
GeoHeifStoreinstances. - Throws:
DataStoreException- if an I/O error occurred.
-
open
Creates aGeoHeifStoreinstance associated with this provider.- Specified by:
openin classDataStoreProvider- Parameters:
connector- information about the storage (URL, stream, etc).- Returns:
- a data store instance associated with this provider for the given storage.
- Throws:
DataStoreException- if an error occurred while creating the data store instance.- See Also:
-