|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.collab.groupware.DefaultEmbeddedImageListener
public class DefaultEmbeddedImageListener
This class is an embedded image listener. This listener is useful in web applications where the download servlet can be readily accessed.
Constructor Summary | |
---|---|
DefaultEmbeddedImageListener()
Constructor. |
|
DefaultEmbeddedImageListener(String sServletName)
Constructor. |
Method Summary | |
---|---|
String |
getImageUrl(String sID)
Gets a URL that can provide the image data to the browser. |
void |
setIDParamName(String sIDParamName)
Sets the attachment id parameter name. |
void |
setResponse(HttpServletResponse response)
Sets the http response instance. |
void |
setServletName(String sServletName)
Sets the servlet name to use with the listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultEmbeddedImageListener()
public DefaultEmbeddedImageListener(String sServletName)
sServletName
- the servlet nameMethod Detail |
---|
public void setServletName(String sServletName)
sServletName
- the servlet namepublic void setIDParamName(String sIDParamName)
sIDParamName
- the name of the id parameterpublic void setResponse(HttpServletResponse response)
response
- the HTTP responsepublic String getImageUrl(String sID)
IEmbeddedImageListener
getImageUrl
in interface IEmbeddedImageListener
sID
- the id of the attachment is passed to the listener
null
)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |