Package org.geotools.gce.imagemosaic
Class CogGranuleAccessProvider
- Object
-
- DefaultGranuleAccessProvider
-
- CogGranuleAccessProvider
-
- All Implemented Interfaces:
GranuleAccessProvider
,GranuleDescriptorModifier
public class CogGranuleAccessProvider extends DefaultGranuleAccessProvider implements GranuleAccessProvider
GranuleAccessProvider for COG Granules.
-
-
Field Summary
-
Fields inherited from class DefaultGranuleAccessProvider
format, gcReader, hints, imageInputStreamSpi, imageReaderSpi, input, inputURL, ovrProvider, skipExternalOverviews, spiHelper, suggestedFormat
-
Fields inherited from interface GranuleAccessProvider
GRANULE_ACCESS_PROVIDER, SUGGESTED_FORMAT, SUGGESTED_READER_SPI, SUGGESTED_STREAM_SPI
-
-
Constructor Summary
Constructors Constructor Description CogGranuleAccessProvider(CatalogConfigurationBean bean)
CogGranuleAccessProvider(Hints hints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GranuleAccessProvider
copyProviders()
Get a copy of this GranuleAccessProviders with same SPIs, factories and configImageInputStream
getImageInputStream()
ImageReaderSpi
getImageReaderSpi()
Return an ImageReaderSpi to create readers on the input granuleImageInputStreamSpi
getInputStreamSpi()
Return an ImageInputStreamSpi to create streams on the input granuleMaskOverviewProvider
getMaskOverviewsProvider()
void
setGranuleInput(Object input)
Input to be set before invoking any method of the provider-
Methods inherited from class DefaultGranuleAccessProvider
createFormatInstance, createImageInputStreamSpiInstance, createImageReaderSpiInstance, getFormat, getGridCoverageReader, getImageReader, getInputURL, update
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface GranuleAccessProvider
getFormat, getGridCoverageReader, getImageReader
-
-
-
-
Constructor Detail
-
CogGranuleAccessProvider
public CogGranuleAccessProvider(CatalogConfigurationBean bean)
-
CogGranuleAccessProvider
public CogGranuleAccessProvider(Hints hints)
-
-
Method Detail
-
setGranuleInput
public void setGranuleInput(Object input) throws IOException
Description copied from interface:GranuleAccessProvider
Input to be set before invoking any method of the provider- Specified by:
setGranuleInput
in interfaceGranuleAccessProvider
- Overrides:
setGranuleInput
in classDefaultGranuleAccessProvider
- Throws:
IOException
-
getMaskOverviewsProvider
public MaskOverviewProvider getMaskOverviewsProvider() throws IOException
- Specified by:
getMaskOverviewsProvider
in interfaceGranuleAccessProvider
- Overrides:
getMaskOverviewsProvider
in classDefaultGranuleAccessProvider
- Throws:
IOException
-
getInputStreamSpi
public ImageInputStreamSpi getInputStreamSpi() throws IOException
Description copied from interface:GranuleAccessProvider
Return an ImageInputStreamSpi to create streams on the input granule- Specified by:
getInputStreamSpi
in interfaceGranuleAccessProvider
- Overrides:
getInputStreamSpi
in classDefaultGranuleAccessProvider
- Throws:
IOException
-
getImageReaderSpi
public ImageReaderSpi getImageReaderSpi() throws IOException
Description copied from interface:GranuleAccessProvider
Return an ImageReaderSpi to create readers on the input granule- Specified by:
getImageReaderSpi
in interfaceGranuleAccessProvider
- Overrides:
getImageReaderSpi
in classDefaultGranuleAccessProvider
- Throws:
IOException
-
getImageInputStream
public ImageInputStream getImageInputStream() throws IOException
- Specified by:
getImageInputStream
in interfaceGranuleAccessProvider
- Overrides:
getImageInputStream
in classDefaultGranuleAccessProvider
- Throws:
IOException
-
copyProviders
public GranuleAccessProvider copyProviders()
Description copied from interface:GranuleAccessProvider
Get a copy of this GranuleAccessProviders with same SPIs, factories and config- Specified by:
copyProviders
in interfaceGranuleAccessProvider
- Overrides:
copyProviders
in classDefaultGranuleAccessProvider
-
-