|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface describing objects that transform an InputStream into a BufferedImage or Raster.
Method Summary | |
java.awt.image.Raster |
decodeAsRaster()
Returns a Raster that contains the decoded contents of the SeekableStream associated with this ImageDecoder. |
java.awt.image.Raster |
decodeAsRaster(int page)
Returns a Raster that contains the decoded contents of the SeekableStream associated with this ImageDecoder. |
java.awt.image.RenderedImage |
decodeAsRenderedImage()
Returns a RenderedImage that contains the decoded contents of the SeekableStream associated with this ImageDecoder. |
java.awt.image.RenderedImage |
decodeAsRenderedImage(int page)
Returns a RenderedImage that contains the decoded contents of the SeekableStream associated with this ImageDecoder. |
SeekableStream |
getInputStream()
Returns the SeekableStream associated with this ImageDecoder. |
int |
getNumPages()
Returns the number of pages present in the current stream. |
ImageDecodeParam |
getParam()
Returns the current parameters as an instance of the ImageDecodeParam interface. |
void |
setParam(ImageDecodeParam param)
Sets the current parameters to an instance of the ImageDecodeParam interface. |
Method Detail |
public ImageDecodeParam getParam()
public void setParam(ImageDecodeParam param)
public SeekableStream getInputStream()
public int getNumPages() throws java.io.IOException
public java.awt.image.Raster decodeAsRaster() throws java.io.IOException
public java.awt.image.Raster decodeAsRaster(int page) throws java.io.IOException
page
- The page to be decoded.public java.awt.image.RenderedImage decodeAsRenderedImage() throws java.io.IOException
public java.awt.image.RenderedImage decodeAsRenderedImage(int page) throws java.io.IOException
page
- The page to be decoded.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |