NASA World Wind WMS

gov.nasa.worldwind.servers.wms.formats
Class PNGImageFormatter

java.lang.Object
  extended by gov.nasa.worldwind.servers.wms.formats.ImageFormatter
      extended by gov.nasa.worldwind.servers.wms.formats.PNGImageFormatter

public class PNGImageFormatter
extends ImageFormatter


Constructor Summary
PNGImageFormatter(File f)
           
 
Method Summary
 InputStream asPng()
           
 BufferedImage toIntermediateForm()
           
 
Methods inherited from class gov.nasa.worldwind.servers.wms.formats.ImageFormatter
asDDS, getFormatterFromMimeType, getStreamFromMimeType, intermediateToDDS, intermediateToPng, isSupportedType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PNGImageFormatter

public PNGImageFormatter(File f)
Method Detail

asPng

public InputStream asPng()
                  throws IOException
Overrides:
asPng in class ImageFormatter
Throws:
IOException

toIntermediateForm

public BufferedImage toIntermediateForm()
                                 throws IOException
Specified by:
toIntermediateForm in class ImageFormatter
Throws:
IOException

NASA World Wind WMS