Class CmsUploader
java.lang.Object
org.opencms.gwt.client.ui.input.upload.CmsUploader
- All Implemented Interfaces:
I_CmsUploader
File uploader utility class. Takes care of the browser specifics when uploading files asynchronously.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
uploadFiles
(String uploadUri, String targetFolder, boolean isRootPath, String postCreateHandler, List<CmsFileInfo> filesToUpload, List<String> filesToUnzip, boolean keepFileNames, I_CmsUploadDialog dialog) Uploads the given files to the given URI.
-
Constructor Details
-
CmsUploader
public CmsUploader()Constructor.
-
-
Method Details
-
uploadFiles
public void uploadFiles(String uploadUri, String targetFolder, boolean isRootPath, String postCreateHandler, List<CmsFileInfo> filesToUpload, List<String> filesToUnzip, boolean keepFileNames, I_CmsUploadDialog dialog) Description copied from interface:I_CmsUploader
Uploads the given files to the given URI.- Specified by:
uploadFiles
in interfaceI_CmsUploader
- Parameters:
uploadUri
- the upload URItargetFolder
- the target folderisRootPath
- true if the target folder is given as a root pathpostCreateHandler
- the post-create handler class, with parametersfilesToUpload
- the files to uploadfilesToUnzip
- the files to unzipkeepFileNames
- don't perform filename translation on the server if this is truedialog
- the dialog instance- See Also:
-
org.opencms.gwt.client.ui.input.upload.I_CmsUploader#uploadFiles(java.lang.String, java.lang.String, boolean, java.lang.String, java.util.List, java.util.List, org.opencms.gwt.client.ui.input.upload.I_CmsUploadDialog)
-