ioutil
Class SerializableImage
java.lang.Object
ioutil.SerializableImage
- All Implemented Interfaces:
- IOable, java.io.Serializable
public class SerializableImage
- extends java.lang.Object
- implements IOable, java.io.Serializable
- See Also:
- Serialized Form
Method Summary |
java.awt.image.BufferedImage |
getImage()
|
void |
load(java.io.ObjectInputStream ois)
|
void |
save(java.io.ObjectOutputStream oos)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializableImage
public SerializableImage(java.awt.image.BufferedImage bi)
SerializableImage
public SerializableImage(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
getImage
public java.awt.image.BufferedImage getImage()
save
public void save(java.io.ObjectOutputStream oos)
throws java.io.IOException
- Specified by:
save
in interface IOable
- Throws:
java.io.IOException
load
public void load(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
load
in interface IOable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException