All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----com.activated.jimi.util.JimiImageSerializer
| Summary |
public class JimiImageSerializer
extends java.lang.Object
implements java.io.Externalizable
{
// Constructors 2
public JimiImageSerializer();
public JimiImageSerializer(Image);
// Methods 4
public Image getImage();
public void readExternal(ObjectInput) throws IOException;
public void setImage(Image);
public void writeExternal(ObjectOutput) throws IOException;
}
A Serializable wrapper for Images. JimiSerializers hold a reference to an
Image, not necessarily created with JIMI, and acts as a Serializable
container for it.
| Constructors |
· JimiImageSerializer | Summary | Top |
public JimiImageSerializer()
Constructs a JimiImageSerializer.
setImagemust be called to set the image to serialize.
· JimiImageSerializer | Summary | Top |
public JimiImageSerializer(Image image)
Constructs a JimiImageSerializer for a given image, using a default encoding scheme.
Parameter Description image the image to serialize
| Methods |
· getImage | Summary | Top |
public Image getImage()
Returns the
Imagebeing serialized.
- Returns:
- the image
· setImage | Summary | Top |
public void setImage(Image image)
Set the source image to serialize.
Parameter Description image the image to serialize
· writeExternal | Summary | Top |
public void writeExternal(ObjectOutput out) throws IOException
Extenalization support, should not be invoked directly.
- Implements:
- writeExternal in interface Externalizable
· readExternal | Summary | Top |
public void readExternal(ObjectInput in) throws IOException
Extenalization support, should not be invoked directly.
- Implements:
- readExternal in interface Externalizable
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7