|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.AbstractImageReference
nextapp.echo.StreamImageReference
public abstract class StreamImageReference
A reference to an image that will be retrieved from a binary stream.
Field Summary |
---|
Fields inherited from class nextapp.echo.AbstractImageReference |
---|
listenerList |
Fields inherited from interface nextapp.echo.ImageReference |
---|
SIZE_UNKNOWN |
Constructor Summary | |
---|---|
StreamImageReference()
Default constructor. |
Method Summary | |
---|---|
abstract java.lang.String |
getContentType()
Returns the valid RFC 1521 image content type (image/png, image/jpeg, image/gif, etc) of the image. |
int |
getHeight()
Returns the height of the image. |
int |
getWidth()
Returns the width of the image. |
abstract void |
render(java.io.OutputStream out)
Sends a byte representation of the image in its native format out the given output stream. |
Methods inherited from class nextapp.echo.AbstractImageReference |
---|
addImageUpdateListener, removeImageUpdateListener, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamImageReference()
Method Detail |
---|
public abstract java.lang.String getContentType()
public int getHeight()
ImageReference
getHeight
in interface ImageReference
ImageReference.getHeight()
public int 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |