Class CURImageReader
java.lang.Object
javax.imageio.ImageReader
com.twelvemonkeys.imageio.ImageReaderBase
com.twelvemonkeys.imageio.plugins.bmp.CURImageReader
public final class CURImageReader
extends com.twelvemonkeys.imageio.ImageReaderBase
ImageReader for Microsoft Windows CUR (cursor) format.
- Version:
- $Id: CURImageReader.java,v 1.0 Apr 20, 2009 11:54:28 AM haraldk Exp$
- Author:
- Harald Kuhr, last modified by $Author: haraldk$
- See Also:
-
Field Summary
Fields inherited from class com.twelvemonkeys.imageio.ImageReaderBase
imageInputFields inherited from class javax.imageio.ImageReader
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetHeight(int pImageIndex) final PointgetHotSpot(int pImageIndex) Returns the hot spot location for the cursor.getImageTypes(int pImageIndex) intgetNumImages(boolean allowSearch) intgetWidth(int pImageIndex) static voidread(int pImageIndex, ImageReadParam pParam) protected voidMethods inherited from class com.twelvemonkeys.imageio.ImageReaderBase
assertInput, checkBounds, dispose, fakeAOI, fakeSubsampling, getDestination, getImageMetadata, getStreamMetadata, hasExplicitDestination, reset, setInput, showItMethods inherited from class javax.imageio.ImageReader
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, canReadRaster, checkReadParamBandSettings, clearAbortRequest, computeRegions, getAspectRatio, getAvailableLocales, getDefaultReadParam, 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, setInput, setInput, setLocale
-
Constructor Details
-
CURImageReader
public CURImageReader() -
CURImageReader
-
-
Method Details
-
getHotSpot
Returns the hot spot location for the cursor.- Parameters:
pImageIndex- the index of the cursor in the current input.- Returns:
- the hot spot location for the cursor
- Throws:
IOException- if an I/O exception occurs during reading of image meta dataIndexOutOfBoundsException- ifpImageIndexis less than0or greater than/equal to the number of cursors in the file
-
resetMembers
protected void resetMembers()- Specified by:
resetMembersin classcom.twelvemonkeys.imageio.ImageReaderBase
-
getImageTypes
- Specified by:
getImageTypesin classImageReader- Throws:
IOException
-
getNumImages
- Overrides:
getNumImagesin classcom.twelvemonkeys.imageio.ImageReaderBase- Throws:
IOException
-
getWidth
- Specified by:
getWidthin classImageReader- Throws:
IOException
-
getHeight
- Specified by:
getHeightin classImageReader- Throws:
IOException
-
read
- Specified by:
readin classImageReader- Throws:
IOException
-
main
- Throws:
IOException
-