org.exoplatform.imageio.plugins.gif
Class GIFImageReader

java.lang.Object
  extended by javax.imageio.ImageReader
      extended by org.exoplatform.imageio.plugins.gif.GIFImageReader

public class GIFImageReader
extends ImageReader

version: openjdk-7-ea-src-b35-11_sep_2008


Field Summary
 
Fields inherited from class javax.imageio.ImageReader
availableLocales, ignoreMetadata, input, locale, minIndex, originatingProvider, progressListeners, seekForwardOnly, updateListeners, warningListeners, warningLocales
 
Constructor Summary
GIFImageReader(ImageReaderSpi originatingProvider)
           
 
Method Summary
 ImageReadParam getDefaultReadParam()
           
 int getHeight(int imageIndex)
           
 IIOMetadata getImageMetadata(int imageIndex)
           
 Iterator getImageTypes(int imageIndex)
           
 int getNumImages(boolean allowSearch)
           
 IIOMetadata getStreamMetadata()
           
 int getWidth(int imageIndex)
           
 void initializeStringTable(int[] prefix, byte[] suffix, byte[] initial, int[] length)
           
 BufferedImage read(int imageIndex, ImageReadParam param)
           
 void reset()
          Remove all settings including global settings such as Locales and listeners, as well as stream settings.
 void setInput(Object input, boolean seekForwardOnly, boolean ignoreMetadata)
           
 
Methods inherited from class javax.imageio.ImageReader
abort, abortRequested, addIIOReadProgressListener, addIIOReadUpdateListener, addIIOReadWarningListener, canReadRaster, checkReadParamBandSettings, clearAbortRequest, computeRegions, dispose, getAspectRatio, getAvailableLocales, 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, setInput, setInput, setLocale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GIFImageReader

public GIFImageReader(ImageReaderSpi originatingProvider)
Method Detail

setInput

public void setInput(Object input,
                     boolean seekForwardOnly,
                     boolean ignoreMetadata)
Overrides:
setInput in class ImageReader

getNumImages

public int getNumImages(boolean allowSearch)
                 throws IIOException
Specified by:
getNumImages in class ImageReader
Throws:
IIOException

getWidth

public int getWidth(int imageIndex)
             throws IIOException
Specified by:
getWidth in class ImageReader
Throws:
IIOException

getHeight

public int getHeight(int imageIndex)
              throws IIOException
Specified by:
getHeight in class ImageReader
Throws:
IIOException

getImageTypes

public Iterator getImageTypes(int imageIndex)
                       throws IIOException
Specified by:
getImageTypes in class ImageReader
Throws:
IIOException

getDefaultReadParam

public ImageReadParam getDefaultReadParam()
Overrides:
getDefaultReadParam in class ImageReader

getStreamMetadata

public IIOMetadata getStreamMetadata()
                              throws IIOException
Specified by:
getStreamMetadata in class ImageReader
Throws:
IIOException

getImageMetadata

public IIOMetadata getImageMetadata(int imageIndex)
                             throws IIOException
Specified by:
getImageMetadata in class ImageReader
Throws:
IIOException

initializeStringTable

public void initializeStringTable(int[] prefix,
                                  byte[] suffix,
                                  byte[] initial,
                                  int[] length)

read

public BufferedImage read(int imageIndex,
                          ImageReadParam param)
                   throws IIOException
Specified by:
read in class ImageReader
Throws:
IIOException

reset

public void reset()
Remove all settings including global settings such as Locales and listeners, as well as stream settings.

Overrides:
reset in class ImageReader


Copyright © 2013 eXo Platform SAS. All Rights Reserved.