public class GRIB1ImageReader extends BaseImageReader
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOGGER |
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales
Constructor and Description |
---|
GRIB1ImageReader(ImageReaderSpi originatingProvider) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Allows any resources held by this reader to be released.
|
int |
getHeight(int imageIndex)
Returns the height of the specified image.
|
IIOMetadata |
getImageMetadata(int imageIndex) |
Iterator<ImageTypeSpecifier> |
getImageTypes(int imageIndex) |
IIOMetadata |
getStreamMetadata() |
int |
getWidth(int imageIndex)
Returns the width of the specified image.
|
BufferedImage |
read(int imageIndex,
ImageReadParam param) |
void |
setInput(Object input) |
void |
setInput(Object input,
boolean seekForwardOnly) |
void |
setInput(Object input,
boolean seekForwardOnly,
boolean ignoreMetadata) |
checkImageIndex, getNumImages, setNumImages
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, canReadRaster, checkReadParamBandSettings, clearAbortRequest, computeRegions, getAspectRatio, getAvailableLocales, getDefaultReadParam, getDestination, getFormatName, getImageMetadata, getInput, getLocale, getMinIndex, getNumThumbnails, getOriginatingProvider, getRawImageType, getSourceRegion, getStreamMetadata, getThumbnailHeight, getThumbnailWidth, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, hasThumbnails, isIgnoringMetadata, isImageTiled, isRandomAccessEasy, isSeekForwardOnly, processImageComplete, processImageProgress, processImageStarted, processImageUpdate, processPassComplete, processPassStarted, processReadAborted, processSequenceComplete, processSequenceStarted, processThumbnailComplete, processThumbnailPassComplete, processThumbnailPassStarted, processThumbnailProgress, processThumbnailStarted, processThumbnailUpdate, processWarningOccurred, processWarningOccurred, read, readAll, readAll, readAsRenderedImage, readerSupportsThumbnails, readRaster, readThumbnail, readTile, readTileRaster, removeAllIIOReadProgressListeners, removeAllIIOReadUpdateListeners, removeAllIIOReadWarningListeners, removeIIOReadProgressListener, removeIIOReadUpdateListener, removeIIOReadWarningListener, reset, setLocale
protected static final Logger LOGGER
public GRIB1ImageReader(ImageReaderSpi originatingProvider)
public void setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata)
setInput
in class ImageReader
public void setInput(Object input, boolean seekForwardOnly)
setInput
in class ImageReader
public void setInput(Object input)
setInput
in class ImageReader
public int getWidth(int imageIndex) throws IOException
getWidth
in class ImageReader
imageIndex
- the index of the required imageIOException
public int getHeight(int imageIndex) throws IOException
getHeight
in class ImageReader
imageIndex
- the index of the required imageIOException
public BufferedImage read(int imageIndex, ImageReadParam param) throws IOException
read
in class ImageReader
IOException
ImageReader.read(int, javax.imageio.ImageReadParam)
public IIOMetadata getStreamMetadata()
getStreamMetadata
in class ImageReader
public IIOMetadata getImageMetadata(int imageIndex) throws IOException
getImageMetadata
in class ImageReader
IOException
public void dispose()
dispose
in class BaseImageReader
public Iterator<ImageTypeSpecifier> getImageTypes(int imageIndex) throws IOException
getImageTypes
in class ImageReader
IOException
Copyright © 2006–2016 GeoSolutions. All rights reserved.