|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectImageReader
BaseImageReader
BaseHDF4ImageReader
public abstract class BaseHDF4ImageReader
| Nested Class Summary | |
|---|---|
protected class |
BaseHDF4ImageReader.HDF4DatasetWrapper
|
| Field Summary | |
|---|---|
protected static Logger |
LOGGER
|
protected BaseNetCDFImageReader |
reader
|
| Fields inherited from class ImageReader |
|---|
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales |
| Constructor Summary | |
|---|---|
protected |
BaseHDF4ImageReader(ImageReaderSpi originatingProvider)
|
| Method Summary | |
|---|---|
void |
dispose()
|
protected NetCDFUtilities.KeyValuePair |
getAttribute(int imageIndex,
int attributeIndex)
|
protected String |
getAttributeAsString(int imageIndex,
String attributeName)
|
protected String |
getAttributeAsString(int imageIndex,
String attributeName,
boolean isUnsigned)
|
protected abstract BaseHDF4ImageReader.HDF4DatasetWrapper |
getDatasetWrapper(int imageIndex)
|
protected NetCDFUtilities.KeyValuePair |
getGlobalAttribute(int attributeIndex)
|
int |
getHeight(int imageIndex)
|
IIOMetadata |
getImageMetadata(int imageIndex)
|
IIOMetadata |
getImageMetadata(int imageIndex,
String metadataFormat)
|
Iterator<ImageTypeSpecifier> |
getImageTypes(int imageIndex)
|
IIOMetadata |
getStreamMetadata()
|
int |
getTileHeight(int imageIndex)
|
int |
getTileWidth(int imageIndex)
|
int |
getWidth(int imageIndex)
|
protected void |
initialize()
Simple initialization method |
protected abstract void |
initializeProfile()
Additional initialization for a specific HDF "Profile". |
BufferedImage |
read(int imageIndex,
ImageReadParam param)
|
protected BufferedImage |
read2DVariable(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, 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 final BaseNetCDFImageReader reader
protected static final Logger LOGGER
| Constructor Detail |
|---|
protected BaseHDF4ImageReader(ImageReaderSpi originatingProvider)
| Method Detail |
|---|
protected abstract BaseHDF4ImageReader.HDF4DatasetWrapper getDatasetWrapper(int imageIndex)
public Iterator<ImageTypeSpecifier> getImageTypes(int imageIndex)
throws IOException
getImageTypes in class ImageReaderIOException
protected abstract void initializeProfile()
throws IOException
Exception
IOException
protected void initialize()
throws IOException
IOExceptionpublic void dispose()
dispose in class BaseImageReaderit.geosolutions.imageio.plugins.hdf4.HDF4ImageReader#dispose()
public void setInput(Object input,
boolean seekForwardOnly,
boolean ignoreMetadata)
setInput in class ImageReader
public IIOMetadata getStreamMetadata()
throws IOException
getStreamMetadata in class ImageReaderIOExceptionit.geosolutions.imageio.plugins.hdf4.HDF4ImageReader#getStreamMetadata()
protected NetCDFUtilities.KeyValuePair getGlobalAttribute(int attributeIndex)
throws IOException
IOExceptionit.geosolutions.imageio.plugins.hdf4.HDF4ImageReader#getGlobalAttribute(int)
protected String getAttributeAsString(int imageIndex,
String attributeName)
it.geosolutions.imageio.plugins.hdf4.HDF4ImageReader#getAttributeAsString(int, java.lang.String)
protected String getAttributeAsString(int imageIndex,
String attributeName,
boolean isUnsigned)
it.geosolutions.imageio.plugins.hdf4.HDF4ImageReader#getAttributeAsString(int, java.lang.String, boolean)
protected NetCDFUtilities.KeyValuePair getAttribute(int imageIndex,
int attributeIndex)
throws IOException
IOExceptionit.geosolutions.imageio.plugins.hdf4.HDF4ImageReader#getAttribute(int, int)
public void setInput(Object input,
boolean seekForwardOnly)
setInput in class ImageReaderpublic void setInput(Object input)
setInput in class ImageReader
public int getWidth(int imageIndex)
throws IOException
getWidth in class ImageReaderIOExceptionit.geosolutions.imageio.plugins.hdf4.HDF4ImageReader#getWidth(int)
public int getHeight(int imageIndex)
throws IOException
getHeight in class ImageReaderIOExceptionit.geosolutions.imageio.plugins.hdf4.HDF4ImageReader#getHeight(int)
public int getTileHeight(int imageIndex)
throws IOException
getTileHeight in class ImageReaderIOExceptionit.geosolutions.imageio.plugins.hdf4.HDF4ImageReader#getTileHeight(int)
public int getTileWidth(int imageIndex)
throws IOException
getTileWidth in class ImageReaderIOExceptionit.geosolutions.imageio.plugins.hdf4.HDF4ImageReader#getTileWidth(int)
protected BufferedImage read2DVariable(int imageIndex,
ImageReadParam param)
throws IOException
IOException
public BufferedImage read(int imageIndex,
ImageReadParam param)
throws IOException
read in class ImageReaderIOExceptionit.geosolutions.imageio.plugins.hdf4.HDF4ImageReader#read(int, javax.imageio.ImageReadParam)
public IIOMetadata getImageMetadata(int imageIndex)
throws IOException
getImageMetadata in class ImageReaderIOExceptionImageReader.getImageMetadata(int)
public IIOMetadata getImageMetadata(int imageIndex,
String metadataFormat)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||