|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Note that the classes in the com.sun.image.codec.jpeg package are not part of the core Java APIs. They are a part of Sun's JDK and JRE distributions. Although other licensees may choose to distribute these classes, developers cannot depend on their availability in non-Sun implementations. We expect that equivalent functionality will eventually be available in a core API or standard extension.
JPEGCodec
,
JPEGDecoderParam
,
Raster
,
BufferedImage
Method Summary | |
BufferedImage | decodeAsBufferedImage()
Decodes the current JPEG data stream. |
Raster | decodeAsRaster()
Decode the JPEG stream that was passed as part of construction. |
InputStream | getInputStream()
Get the input stream that decoding will occur from. |
JPEGDecodeParam | getJPEGDecodeParam()
Returns the JPEGDecodeParam object that resulted from the most recent decoding event. |
void | setJPEGDecodeParam(JPEGDecodeParam jdp)
Sets the JPEGDecodeParam object used to determine the features of the decompression performed on the JPEG encoded data. |
Method Detail |
public JPEGDecodeParam getJPEGDecodeParam()
public void setJPEGDecodeParam(JPEGDecodeParam jdp)
jdp
- JPEGDecodeParam objectpublic InputStream getInputStream()
public Raster decodeAsRaster() throws IOException, ImageFormatException
public BufferedImage decodeAsBufferedImage() throws IOException, ImageFormatException
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |