|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectImageReader
BaseImageReader
GRIB1ImageReader
public class GRIB1ImageReader
GRIB1ImageReader
is a ImageReader
able to create
RenderedImage
from GRIB1 sources.
Field Summary | |
---|---|
protected static Logger |
LOGGER
|
Fields inherited from class ImageReader |
---|
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales |
Constructor Summary | |
---|---|
GRIB1ImageReader(ImageReaderSpi originatingProvider)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class BaseImageReader |
---|
checkImageIndex, getNumImages, setNumImages |
Methods inherited from class ImageReader |
---|
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 |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final Logger LOGGER
Constructor Detail |
---|
public GRIB1ImageReader(ImageReaderSpi originatingProvider)
Method Detail |
---|
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 image
IOException
public int getHeight(int imageIndex) throws IOException
getHeight
in class ImageReader
imageIndex
- the index of the required image
IOException
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |