|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.StreamImageReference
| Constructor Summary | |
StreamImageReference()
Default constructor. |
|
| Method Summary | |
abstract java.lang.String |
getContentType()
Returns the valid RFC 1521 image content type (e.g., image/png, image/jpeg, image/gif, etc) of the image. |
Extent |
getHeight()
Returns the height of the image, or null if the size is unknown. |
Extent |
getWidth()
Returns the width of the image, or null if the size is unknown. |
abstract void |
render(java.io.OutputStream out)
Renders the image data in its native format to the given output stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface nextapp.echo2.app.RenderIdSupport |
getRenderId |
| Constructor Detail |
public StreamImageReference()
| Method Detail |
public abstract java.lang.String getContentType()
public Extent getHeight()
ImageReference
getHeight in interface ImageReferenceImageReference.getHeight()public Extent getWidth()
ImageReference
getWidth in interface ImageReferenceImageReference.getWidth()
public abstract void render(java.io.OutputStream out)
throws java.io.IOException
out - the output stream to write the image
java.io.IOException
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||