public class GeoTiffStoreProvider extends DataStoreProvider
GeoTiffStore
instances. Given a StorageConnector
input,
this class tries to instantiate a GeoTiffStore
.
GeoTiffStoreProvider
instance can be safely used by many threads without synchronization on
the part of the caller. However the GeoTiffStore
instances created by this factory are not thread-safe.GeoTiffStore
Defined in the sis-geotiff
module
LOCATION
Constructor and Description |
---|
GeoTiffStoreProvider()
Creates a new provider.
|
Modifier and Type | Method and Description |
---|---|
ParameterDescriptorGroup |
getOpenParameters()
Returns a description of all parameters accepted by this provider for opening a GeoTIFF file.
|
String |
getShortName()
Returns a generic name for this data store, used mostly in warnings or error messages.
|
DataStore |
open(StorageConnector connector)
Returns a
GeoTiffStore implementation associated with this provider. |
ProbeResult |
probeContent(StorageConnector connector)
Returns
ProbeResult.SUPPORTED if the given storage appears to be supported by GeoTiffStore . |
getFormat, getSupportedVersions, open
public String getShortName()
getShortName
in class DataStoreProvider
DataStoreProvider.getFormat()
public ParameterDescriptorGroup getOpenParameters()
getOpenParameters
in class DataStoreProvider
DataStoreProvider.open(ParameterValueGroup)
,
DataStore.getOpenParameters()
public ProbeResult probeContent(StorageConnector connector) throws DataStoreException
ProbeResult.SUPPORTED
if the given storage appears to be supported by GeoTiffStore
.
Returning SUPPORTED
from this method 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
storage object or contents.probeContent
in class DataStoreProvider
connector
- information about the storage (URL, stream, etc).SUPPORTED
if the given storage seems to be usable by GeoTiffStore
instances.DataStoreException
- if an I/O error occurred.public DataStore open(StorageConnector connector) throws DataStoreException
GeoTiffStore
implementation associated with this provider.open
in class DataStoreProvider
connector
- information about the storage (URL, stream, etc).DataStoreException
- if an error occurred while creating the data store instance.DataStores.open(Object)
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.