Package org.geotools.gce.imagemosaic
Interface GranuleAccessProvider
-
- All Known Implementing Classes:
CogGranuleAccessProvider,DefaultGranuleAccessProvider
public interface GranuleAccessProviderAn 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 Modifier and Type Field Description static Hints.KeyGRANULE_ACCESS_PROVIDERstatic Hints.KeySUGGESTED_FORMATstatic Hints.KeySUGGESTED_READER_SPIstatic Hints.KeySUGGESTED_STREAM_SPI
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GranuleAccessProvidercopyProviders()Get a copy of this GranuleAccessProviders with same SPIs, factories and configAbstractGridFormatgetFormat()Return the AbstractGridFormat supporting the type of the input granuleAbstractGridCoverage2DReadergetGridCoverageReader()Return a GridCoverageReader supporting the type of the input granuleImageInputStreamgetImageInputStream()ImageReadergetImageReader()ImageReaderSpigetImageReaderSpi()Return an ImageReaderSpi to create readers on the input granuleImageInputStreamSpigetInputStreamSpi()Return an ImageInputStreamSpi to create streams on the input granuleMaskOverviewProvidergetMaskOverviewsProvider()voidsetGranuleInput(Object input)Input to be set before invoking any method of the provider
-
-
-
Method Detail
-
setGranuleInput
void setGranuleInput(Object input) throws IOException
Input to be set before invoking any method of the provider- Throws:
IOException
-
getFormat
AbstractGridFormat getFormat() throws IOException
Return the AbstractGridFormat supporting the type of the input granule- Throws:
IOException
-
getGridCoverageReader
AbstractGridCoverage2DReader getGridCoverageReader() throws IOException
Return a GridCoverageReader supporting the type of the input granule- Throws:
IOException
-
getInputStreamSpi
ImageInputStreamSpi getInputStreamSpi() throws IOException
Return an ImageInputStreamSpi to create streams on the input granule- Throws:
IOException
-
getImageReaderSpi
ImageReaderSpi getImageReaderSpi() throws IOException
Return an ImageReaderSpi to create readers on the input granule- Throws:
IOException
-
getMaskOverviewsProvider
MaskOverviewProvider getMaskOverviewsProvider() throws IOException
- Throws:
IOException
-
getImageInputStream
ImageInputStream getImageInputStream() throws IOException
- Throws:
IOException
-
getImageReader
ImageReader getImageReader() throws IOException
- Throws:
IOException
-
copyProviders
GranuleAccessProvider copyProviders()
Get a copy of this GranuleAccessProviders with same SPIs, factories and config
-
-