Package org.geotools.gce.imagemosaic
Interface GranuleAccessProvider
- All Known Implementing Classes:
CogGranuleAccessProvider
,DefaultGranuleAccessProvider
public interface GranuleAccessProvider
An interface providing multiple types of entities involved when getting access to a Granule.
- An ImageReaderSpi to create an ImageReader to decode that granule
- An ImageInputStreamSpi to create a stream for the granule
- An AbstractGridFormat supporting the type of format of that granule
- An AbstractGridCoverage2DReader able to read that granule
- A MaskOverviewProvider with details on mask and overviews for that granule
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet a copy of this GranuleAccessProviders with same SPIs, factories and configReturn the AbstractGridFormat supporting the type of the input granuleReturn a GridCoverageReader supporting the type of the input granuleReturn an ImageReaderSpi to create readers on the input granuleReturn an ImageInputStreamSpi to create streams on the input granulevoid
setGranuleInput
(Object input) Input to be set before invoking any method of the provider
-
Field Details
-
SUGGESTED_READER_SPI
-
SUGGESTED_STREAM_SPI
-
SUGGESTED_FORMAT
-
GRANULE_ACCESS_PROVIDER
-
-
Method Details
-
setGranuleInput
Input to be set before invoking any method of the provider- Throws:
IOException
-
getFormat
Return the AbstractGridFormat supporting the type of the input granule- Throws:
IOException
-
getGridCoverageReader
Return a GridCoverageReader supporting the type of the input granule- Throws:
IOException
-
getInputStreamSpi
Return an ImageInputStreamSpi to create streams on the input granule- Throws:
IOException
-
getImageReaderSpi
Return an ImageReaderSpi to create readers on the input granule- Throws:
IOException
-
getMaskOverviewsProvider
- Throws:
IOException
-
getImageInputStream
- Throws:
IOException
-
getImageReader
- Throws:
IOException
-
copyProviders
GranuleAccessProvider copyProviders()Get a copy of this GranuleAccessProviders with same SPIs, factories and config
-