com.sun.jimi.core.encoder.sunraster
Class RGBSunRasterEncoder

java.lang.Object
  |
  +--com.sun.jimi.core.encoder.sunraster.SpecificEncoder
        |
        +--com.sun.jimi.core.encoder.sunraster.RGBSunRasterEncoder

public class RGBSunRasterEncoder
extends SpecificEncoder

Encoder implementation for 24-bit RGB SunRaster images.


Constructor Summary
RGBSunRasterEncoder()
           
 
Method Summary
 void doImageEncode()
          Do the image encoding, writing the result to output stream.
protected  void writeImage()
          Worker method that does the actual encoding.
 
Methods inherited from class com.sun.jimi.core.encoder.sunraster.SpecificEncoder
getHeader, getJimiImage, getOutputStream, initEncoder, writeHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RGBSunRasterEncoder

public RGBSunRasterEncoder()
Method Detail

doImageEncode

public void doImageEncode()
                   throws JimiException
Do the image encoding, writing the result to output stream.
Overrides:
doImageEncode in class SpecificEncoder

writeImage

protected void writeImage()
                   throws java.io.IOException,
                          JimiException
Worker method that does the actual encoding.