gistoolkit.datasources.imagefile.imagereaders
Class JAIImageReader

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

public class JAIImageReader
extends java.lang.Object
implements ImageReaderInterface

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


Constructor Summary
JAIImageReader()
          Creates a new instance of JAIImageReader
JAIImageReader(java.lang.String inFile)
          Creates a new instance of JAIImageReader
 
Method Summary
 int getHeight()
           
 java.awt.image.BufferedImage 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

JAIImageReader

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


JAIImageReader

public JAIImageReader(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.BufferedImage 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