gistoolkit.datasources.imagefile.imagereaders
Class AWTImageReader

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

public class AWTImageReader
extends java.lang.Object
implements ImageReaderInterface

Class to protect from Instantiation exceptions if JAI is not installed.


Constructor Summary
AWTImageReader()
          Creates a new instance of JAIImageReader
AWTImageReader(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)
          Method to read the image information from a file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWTImageReader

public AWTImageReader()
               throws java.lang.Exception
Creates a new instance of JAIImageReader


AWTImageReader

public AWTImageReader(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)
Description copied from interface: ImageReaderInterface
Method to read the image information from a file.

Specified by:
readImage in interface ImageReaderInterface