|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.datasources.imagefile.imagereaders.ImageReader
Class to try all the available means for reading an image and using the best one.
Field Summary | |
static java.lang.String |
METHOD_AWT
Read the imates with the Standard AWT toolkit. |
static java.lang.String |
METHOD_ICON
Read the images with the javax.swing packages. |
static java.lang.String |
METHOD_JAI
Read the images with the Java Advanced Imaging Software. |
static java.lang.String |
METHOD_JAVAIO
Read the images with the javax.imageio packages. |
static java.lang.String |
myMethod
A variable to keep track of which method works. |
Constructor Summary | |
ImageReader()
Creates a new instance of JAIImageReader |
Method Summary | |
static ImageInformation |
readImage(java.lang.String inFilename)
This method will attempt to use the available methods to read images. |
static void |
setMethod(java.lang.String inMethod)
Method to tell when the method has been selected. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String METHOD_JAVAIO
public static java.lang.String METHOD_JAI
public static java.lang.String METHOD_ICON
public static java.lang.String METHOD_AWT
public static java.lang.String myMethod
Constructor Detail |
public ImageReader() throws java.lang.Exception
Method Detail |
public static ImageInformation readImage(java.lang.String inFilename)
public static void setMethod(java.lang.String inMethod)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |