gistoolkit.datasources.imagefile.imagereaders
Class IconImageReader

java.lang.Object
  extended bygistoolkit.datasources.imagefile.imagereaders.IconImageReader
All Implemented Interfaces:
ImageReaderInterface

public class IconImageReader
extends java.lang.Object
implements ImageReaderInterface

Class to protect from Instantiation exceptions if javax.imageio is not available..


Constructor Summary
IconImageReader()
          Create an empty reader.
IconImageReader(java.lang.String inFile)
          Creates a new instance of JAIImageReader
 
Method Summary
 int getHeight()
           
 java.awt.Image getImage()
           
 int getWidth()
           
 ImageInformation readImage(java.lang.String inFile)
          Use the javax.imageio api to read the image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IconImageReader

public IconImageReader()
                throws java.lang.Exception
Create an empty reader.


IconImageReader

public IconImageReader(java.lang.String inFile)
                throws java.lang.Exception
Creates a new instance of JAIImageReader

Method Detail

getWidth

public int getWidth()

getHeight

public int getHeight()

getImage

public java.awt.Image getImage()

readImage

public ImageInformation readImage(java.lang.String inFile)
Use the javax.imageio api to read the image.

Specified by:
readImage in interface ImageReaderInterface