Class FrameImage
- java.lang.Object
-
- org.apache.ofbiz.product.imagemanagement.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)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
resourceError
public static final java.lang.String resourceError
- See Also:
- Constant Field Values
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
-
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
-
-