|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.agmodel.imageutil.PackedImage13
Title: PackedImage13
Description: A serialized verision of BufferedImage. Typically designed for loading image files from disk and transfer the loaded image (byte array) to another machine. This version is compatible with JRE 1.3.
Copyright: Copyright (c) 2002
Company:
| Field Summary | |
(package private) byte[] |
buffer
|
int |
flag
|
(package private) int |
height
|
(package private) int |
width
|
| Constructor Summary | |
PackedImage13(byte[] inBuffer,
int flag,
int width,
int height)
Create a mobile image from an array of bytes. |
|
PackedImage13(File file)
|
|
| Method Summary | |
BufferedImage |
getBufferedImage()
retrieve the BufferedImage from a SerializableImage. |
Image |
getImage()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
byte[] buffer
public int flag
int width
int height
| Constructor Detail |
public PackedImage13(byte[] inBuffer,
int flag,
int width,
int height)
inBuffer - the array of bytesflag - - 1=JPEG, 2=GIFpublic PackedImage13(File file)
| Method Detail |
public BufferedImage getBufferedImage()
SerializableImage
getBufferedImage in interface SerializableImageBufferedImagepublic Image getImage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||