|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.app.StreamImageReference
public abstract class StreamImageReference
Base class for ImageReference
s whose content is delivered by an OutputStream
.
Some internal ImageReference
types are based on this class, and it may also be used for
images streamed by an application.
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.echo.app.RenderIdSupport |
---|
getRenderId |
Constructor Detail |
---|
public StreamImageReference()
Method Detail |
---|
public abstract java.lang.String getContentType()
public Extent getHeight()
ImageReference
getHeight
in interface ImageReference
ImageReference.getHeight()
public Extent getWidth()
ImageReference
getWidth
in interface ImageReference
ImageReference.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 Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |