Class FrameImage


  • public class FrameImage
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String module  
      static java.lang.String resource  
      static java.lang.String resourceError  
    • Constructor Summary

      Constructors 
      Constructor Description
      FrameImage()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.Object> addImageFrame​(DispatchContext dctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)  
      static java.lang.String chooseFrameImage​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      static java.awt.image.BufferedImage combineBufferedImage​(java.awt.Image image1, java.awt.Image image2, int bufImgType)  
      static java.lang.String deleteFrameImage​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      static java.lang.String previewFrameImage​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      static java.lang.String uploadFrame​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • module

        public static final java.lang.String module
    • Constructor Detail

      • FrameImage

        public FrameImage()
    • Method Detail

      • addImageFrame

        public static java.util.Map<java.lang.String,​java.lang.Object> addImageFrame​(DispatchContext dctx,
                                                                                           java.util.Map<java.lang.String,​? extends java.lang.Object> context)
                                                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • combineBufferedImage

        public static java.awt.image.BufferedImage combineBufferedImage​(java.awt.Image image1,
                                                                        java.awt.Image image2,
                                                                        int bufImgType)
      • uploadFrame

        public static java.lang.String uploadFrame​(javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response)
      • previewFrameImage

        public static java.lang.String previewFrameImage​(javax.servlet.http.HttpServletRequest request,
                                                         javax.servlet.http.HttpServletResponse response)
                                                  throws java.io.IOException,
                                                         org.jdom.JDOMException
        Throws:
        java.io.IOException
        org.jdom.JDOMException
      • chooseFrameImage

        public static java.lang.String chooseFrameImage​(javax.servlet.http.HttpServletRequest request,
                                                        javax.servlet.http.HttpServletResponse response)
      • deleteFrameImage

        public static java.lang.String deleteFrameImage​(javax.servlet.http.HttpServletRequest request,
                                                        javax.servlet.http.HttpServletResponse response)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException