Class CmsUploader

java.lang.Object
org.opencms.gwt.client.ui.input.upload.CmsUploader
All Implemented Interfaces:
I_CmsUploader

public class CmsUploader extends Object implements I_CmsUploader
File uploader utility class. Takes care of the browser specifics when uploading files asynchronously.

  • Constructor Details

  • 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 interface I_CmsUploader
      Parameters:
      uploadUri - the upload URI
      targetFolder - the target folder
      isRootPath - true if the target folder is given as a root path
      postCreateHandler - the post-create handler class, with parameters
      filesToUpload - the files to upload
      filesToUnzip - the files to unzip
      keepFileNames - don't perform filename translation on the server if this is true
      dialog - 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)