|
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
public abstract class StreamImageReference
| Constructor Summary | |
|---|---|
StreamImageReference()
Default constructor. |
|
| Method Summary | |
|---|---|
abstract 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(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 String getContentType()
public Extent getHeight()
ImageReference
getHeight in interface ImageReferenceImageReference.getHeight()public Extent getWidth()
ImageReference
getWidth in interface ImageReferenceImageReference.getWidth()
public abstract void render(OutputStream out)
throws IOException
out - the output stream to write the image
IOException
|
NextApp Echo2 v2.1.0.rc2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||