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 TypeMethodDescriptionvoiduploadFiles(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_CmsUploaderUploads the given files to the given URI.- Specified by:
uploadFilesin 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:
-