|
EchoPoint 2.1.0rc5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo2.app.StreamImageReference
echopointng.image.URLImageReference
public class URLImageReference
URLImageReference provides an ImageReference
that gets its image data from an java.net.URL.
| Constructor Summary | |
|---|---|
URLImageReference(URL imageURL)
Creates an URLImageReference retrieved from the provided URL. |
|
URLImageReference(URL imageURL,
Extent width,
Extent height)
Creates an URLImageReference retrieved from the provided URL
with the specified width and height. |
|
URLImageReference(URL imageURL,
String contentType)
Creates an URLImageReference retrieved from the provided URL
and the specified content type. |
|
URLImageReference(URL imageURL,
String contentType,
Extent width,
Extent height)
Creates an URLImageReference retrieved from the provided URL
with the specified content type, width and height. |
|
| Method Summary | |
|---|---|
String |
getContentType()
|
Extent |
getHeight()
|
String |
getRenderId()
|
Extent |
getWidth()
|
void |
render(OutputStream out)
|
void |
update()
Not supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLImageReference(URL imageURL)
URLImageReference retrieved from the provided URL.
The content type of the image will be determined based on the extension of the URLs external form.
public URLImageReference(URL imageURL,
String contentType)
URLImageReference retrieved from the provided URL
and the specified content type.
public URLImageReference(URL imageURL,
Extent width,
Extent height)
URLImageReference retrieved from the provided URL
with the specified width and height.
The content type of the image will be determined based on the extension of the URLs external form.
public URLImageReference(URL imageURL,
String contentType,
Extent width,
Extent height)
URLImageReference retrieved from the provided URL
with the specified content type, width and height.
| Method Detail |
|---|
public String getRenderId()
RenderIdSupport.getRenderId()public String getContentType()
getContentType in class StreamImageReferenceStreamImageReference.getContentType()public Extent getHeight()
getHeight in interface ImageReferencegetHeight in class StreamImageReferenceImageReference.getHeight()public Extent getWidth()
getWidth in interface ImageReferencegetWidth in class StreamImageReferenceImageReference.getWidth()public void update()
public void render(OutputStream out)
throws IOException
render in class StreamImageReferenceIOExceptionStreamImageReference.render(java.io.OutputStream)
|
EchoPoint 2.1.0rc5 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||