| java.lang.Object org.apache.harmony.awt.gl.image.ImageDecoder
All known Subclasses: org.apache.harmony.awt.gl.image.GifDecoder, org.apache.harmony.awt.gl.image.JpegDecoder, org.apache.harmony.awt.gl.image.PngDecoder,
ImageDecoder | abstract class ImageDecoder (Code) | | This class contains common functionality for all image decoders.
|
Method Summary | |
public synchronized void | closeStream() | static ImageDecoder | createDecoder(DecodingImageSource src, InputStream is) Chooses appropriate image decoder by looking into input stream and checking
the image signature. | abstract public void | decodeImage() | protected void | imageComplete(int status) | protected void | setColorModel(ColorModel cm) | protected void | setDimensions(int w, int h) | protected void | setHints(int hints) | protected void | setPixels(int x, int y, int w, int h, ColorModel model, byte pix, int off, int scansize) | protected void | setPixels(int x, int y, int w, int h, ColorModel model, int pix, int off, int scansize) | protected void | setProperties(Hashtable, ?> props) | public void | terminate() Used when all consumers are removed and there's no more need to
run the decoder. |
terminated | boolean terminated(Code) | | |
closeStream | public synchronized void closeStream()(Code) | | |
createDecoder | static ImageDecoder createDecoder(DecodingImageSource src, InputStream is)(Code) | | Chooses appropriate image decoder by looking into input stream and checking
the image signature.
Parameters: src - - image producer, required for passing data to it from thecreated decoder via callbacks Parameters: is - - stream decoder |
imageComplete | protected void imageComplete(int status)(Code) | | |
setDimensions | protected void setDimensions(int w, int h)(Code) | | |
setHints | protected void setHints(int hints)(Code) | | |
setPixels | protected void setPixels(int x, int y, int w, int h, ColorModel model, byte pix, int off, int scansize)(Code) | | |
setPixels | protected void setPixels(int x, int y, int w, int h, ColorModel model, int pix, int off, int scansize)(Code) | | |
terminate | public void terminate()(Code) | | Used when all consumers are removed and there's no more need to
run the decoder.
|
|
|