Class CmsUploaderFileApi
- java.lang.Object
-
- org.opencms.gwt.client.ui.input.upload.impl.CmsUploaderFormData
-
- org.opencms.gwt.client.ui.input.upload.impl.CmsUploaderFileApi
-
- All Implemented Interfaces:
I_CmsUploader
public class CmsUploaderFileApi extends CmsUploaderFormData
File API implementation of the file uploader.
-
-
Constructor Summary
Constructors Constructor Description CmsUploaderFileApi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
upload(java.lang.String uploadUri, java.lang.String targetFolder, boolean isRootPath, java.lang.String postCreateHandler, com.google.gwt.core.client.JsArray<CmsFileInfo> filesToUpload, com.google.gwt.core.client.JavaScriptObject filesToUnzip, boolean keepFileNames, I_CmsUploadDialog dialog)
Sends a post request to the upload JSP.-
Methods inherited from class org.opencms.gwt.client.ui.input.upload.impl.CmsUploaderFormData
uploadFiles
-
-
-
-
Constructor Detail
-
CmsUploaderFileApi
public CmsUploaderFileApi()
-
-
Method Detail
-
upload
protected void upload(java.lang.String uploadUri, java.lang.String targetFolder, boolean isRootPath, java.lang.String postCreateHandler, com.google.gwt.core.client.JsArray<CmsFileInfo> filesToUpload, com.google.gwt.core.client.JavaScriptObject filesToUnzip, boolean keepFileNames, I_CmsUploadDialog dialog)
Description copied from class:CmsUploaderFormData
Sends a post request to the upload JSP.- Overrides:
upload
in classCmsUploaderFormData
- Parameters:
uploadUri
- the URI of the JSP that performs the uploadtargetFolder
- the target folder to uploadisRootPath
- true if the target folder is given as a root pathpostCreateHandler
- the post-create handlerfilesToUpload
- the files to uploadfilesToUnzip
- the file names to unzipdialog
- this dialog- See Also:
CmsUploaderFormData.upload(java.lang.String, java.lang.String, boolean, java.lang.String, com.google.gwt.core.client.JsArray, com.google.gwt.core.client.JavaScriptObject, boolean, org.opencms.gwt.client.ui.input.upload.I_CmsUploadDialog)
-
-