com.ibm.aglets
Class AgletImageData

java.lang.Object
  |
  +--com.ibm.aglets.AgletImageData
All Implemented Interfaces:
ImageData, java.io.Serializable

public class AgletImageData
extends java.lang.Object
implements ImageData, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AgletImageData(java.net.URL u, byte[] b, java.lang.String t)
           
 
Method Summary
 java.awt.image.ImageProducer getImageProducer()
          Gets source of the image
 int hashCode()
           
 void writeTo(java.io.OutputStream out)
          Writes the image data to the given output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgletImageData

public AgletImageData(java.net.URL u,
                      byte[] b,
                      java.lang.String t)
Method Detail

getImageProducer

public java.awt.image.ImageProducer getImageProducer()
Description copied from interface: ImageData
Gets source of the image
Specified by:
getImageProducer in interface ImageData

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

writeTo

public void writeTo(java.io.OutputStream out)
             throws java.io.IOException
Description copied from interface: ImageData
Writes the image data to the given output stream
Specified by:
writeTo in interface ImageData