Package org.apache.ofbiz.base.util
Class HttpRequestFileUpload
- java.lang.Object
-
- org.apache.ofbiz.base.util.HttpRequestFileUpload
-
public class HttpRequestFileUpload extends java.lang.Object
HttpRequestFileUpload - Receive a file upload through an HttpServletRequest
-
-
Constructor Summary
Constructors Constructor Description HttpRequestFileUpload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doUpload(javax.servlet.http.HttpServletRequest request, java.lang.String fileType)
java.lang.String
getContentType()
java.lang.String
getFieldValue(java.lang.String fieldName)
java.lang.String
getFilename()
java.lang.String
getFilepath()
java.lang.String
getOverrideFilename()
void
setOverrideFilename(java.lang.String ofName)
void
setSavePath(java.lang.String savePath)
-
-
-
Method Detail
-
getOverrideFilename
public java.lang.String getOverrideFilename()
-
setOverrideFilename
public void setOverrideFilename(java.lang.String ofName)
-
getFilename
public java.lang.String getFilename()
-
getFilepath
public java.lang.String getFilepath()
-
setSavePath
public void setSavePath(java.lang.String savePath)
-
getContentType
public java.lang.String getContentType()
-
getFieldValue
public java.lang.String getFieldValue(java.lang.String fieldName)
-
doUpload
public boolean doUpload(javax.servlet.http.HttpServletRequest request, java.lang.String fileType) throws java.io.IOException
- Throws:
java.io.IOException
-
-