com.xmlserv.app.images
Class ImagePreview
java.lang.Object
|
+--com.xmlserv.main.XMLServBackendImpl
|
+--com.xmlserv.app.AppBase
|
+--com.xmlserv.app.images.ImageGet
|
+--com.xmlserv.app.images.ImagePreview
- All Implemented Interfaces:
- XMLServBackend
- public class ImagePreview
- extends ImageGet
Send the preview image to client.
This requires the option binaryoutput in the config.xml entry for this Backend.
- Version:
- $Id: ImagePreview.java,v 1.6 2002/11/14 17:03:35 muecke Exp $
- Author:
- Wolfram Saringer
Constructor Summary |
ImagePreview()
Create empty object.
init() must be called before this object can be used. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImagePreview
public ImagePreview()
- Create empty object.
init() must be called before this object can be used.
getFilename
public java.lang.String getFilename(Image img,
javax.servlet.http.HttpServletRequest req,
SecurityManager securitymanager)
throws XMLServException
getMimetype
public java.lang.String getMimetype(Image img,
javax.servlet.http.HttpServletRequest req,
SecurityManager securitymanager)
throws XMLServException
main
public static void main(java.lang.String[] args)