org.silverpeas.upload.web
Class FileUploadData
java.lang.Object
org.silverpeas.upload.web.FileUploadData
public class FileUploadData
- extends Object
- Author:
- Yohann Chastagnier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getUploadSessionId
public String getUploadSessionId()
getFullPath
public String getFullPath()
getName
public String getName()
getComponentInstanceId
public String getComponentInstanceId()
from
public static FileUploadData from(javax.servlet.http.HttpServletRequest request)
throws Exception
- Initializes an instance from the request directly. (OCTET STREAM UPLOAD)
- Parameters:
request
- the current http request.
- Returns:
- a new initialized instance.
- Throws:
Exception
from
public static FileUploadData from(UploadedRequestFile uploadedRequestFile)
- Initializes an instance from
UploadedRequestFile
. (FormData)
- Parameters:
uploadedRequestFile
- the upload file that represents the form data.
- Returns:
- a new initialized instance.
- Throws:
Exception
Copyright © 2016 Silverpeas. All Rights Reserved.