com.sun.jimi.core.decoder.apf
Class APFDecoder
java.lang.Object
|
+--com.sun.jimi.core.util.ProgressMonitorSupport
|
+--com.sun.jimi.core.JimiRasterDecoderSupport
|
+--com.sun.jimi.core.JimiSingleImageRasterDecoder
|
+--com.sun.jimi.core.decoder.apf.APFDecoder
- public class APFDecoder
- extends JimiSingleImageRasterDecoder
Decoder class for Activated Pseudo Format (APF)
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
width
protected int width
- image width
height
protected int height
- image height
dataInput
protected java.io.DataInputStream dataInput
- stream for image data
jimiImage
protected IntRasterImage jimiImage
- created image
APFDecoder
public APFDecoder()
doInitDecoding
public MutableJimiRasterImage doInitDecoding(JimiImageFactory factory,
java.io.InputStream input)
throws JimiException,
java.io.IOException
- Initialize decoding by reading headers and creating the JimiImage.
- Overrides:
- doInitDecoding in class JimiSingleImageRasterDecoder
doImageDecode
public void doImageDecode()
throws JimiException,
java.io.IOException
- Populate the image with pixel data.
- Overrides:
- doImageDecode in class JimiSingleImageRasterDecoder
readHeader
protected void readHeader()
throws JimiException,
java.io.IOException
- Read the image headers.
createJimiImage
protected void createJimiImage()
throws JimiException
- Instantiate the JimiImage.
readData
protected void readData()
throws java.io.IOException,
ImageAccessException
- Read the image data and send it to the JimiImage.