NASA World Wind

gov.nasa.worldwind.data
Class ImageIOReader

java.lang.Object
  extended by gov.nasa.worldwind.data.BasicDataIODescriptor
      extended by gov.nasa.worldwind.data.ImageIOReader
All Implemented Interfaces:
DataIODescriptor

public class ImageIOReader
extends BasicDataIODescriptor


Constructor Summary
ImageIOReader()
           
 
Method Summary
 boolean canRead(Object input)
           
protected static ImageInputStream createInputStream(Object input)
           
protected  boolean doCanRead(Object input)
           
protected  BufferedImage doRead(Object input)
           
protected  void doReadMetadata(Object input, AVList values)
           
protected static String[] getImageIOReaderSuffixes()
           
protected static InputStream openInputStream(String path)
           
 BufferedImage read(Object input)
           
protected static ImageReader readerFor(ImageInputStream iis)
           
 void readMetadata(Object input, AVList values)
           
 
Methods inherited from class gov.nasa.worldwind.data.BasicDataIODescriptor
copyOf, createCombinedDescription, getDescription, getMimeTypes, getSuffixes, getSuffixFor, matchesFormatSuffix, matchesMimeType, pathFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageIOReader

public ImageIOReader()
Method Detail

canRead

public boolean canRead(Object input)

createInputStream

protected static ImageInputStream createInputStream(Object input)
                                             throws IOException
Throws:
IOException

doCanRead

protected boolean doCanRead(Object input)

doRead

protected BufferedImage doRead(Object input)
                        throws IOException
Throws:
IOException

doReadMetadata

protected void doReadMetadata(Object input,
                              AVList values)
                       throws IOException
Throws:
IOException

getImageIOReaderSuffixes

protected static String[] getImageIOReaderSuffixes()

openInputStream

protected static InputStream openInputStream(String path)
                                      throws IOException
Throws:
IOException

read

public BufferedImage read(Object input)
                   throws IOException
Throws:
IOException

readerFor

protected static ImageReader readerFor(ImageInputStream iis)

readMetadata

public void readMetadata(Object input,
                         AVList values)
                  throws IOException
Throws:
IOException

NASA World Wind