public void uploadFiles(
        String uploadUri,
        String targetFolder,
        boolean isRootPath,
        List<CmsFileInfo> filesToUpload,
        List<String> filesToUnzip,
        I_CmsUploadDialog dialog) {

        JsArray<CmsFileInfo> filesToUploadArray = JavaScriptObject.createArray().cast();
        for (CmsFileInfo fileInfo : filesToUpload) {
            filesToUploadArray.push(fileInfo);
        }

        // create a array that contains the names of the files that should be unziped
        JavaScriptObject filesToUnzipArray = JavaScriptObject.createArray();
        for (String filename : filesToUnzip) {
            CmsClientStringUtil.pushArray(filesToUnzipArray, filename);
        }
        upload(uploadUri, targetFolder, isRootPath, filesToUploadArray, filesToUnzipArray, dialog);
    }
public void uploadFiles ( String uploadUri , String targetFolder , boolean isRootPath , List < CmsFileInfo > filesToUpload , List < String > filesToUnzip , I_CmsUploadDialog dialog ) { JsArray < CmsFileInfo > filesToUploadArray = JavaScriptObject . createArray ( ) . cast ( ) ; for ( CmsFileInfo fileInfo : filesToUpload ) { filesToUploadArray . push ( fileInfo ) ; } JavaScriptObject filesToUnzipArray = JavaScriptObject . createArray ( ) ; for ( String filename : filesToUnzip ) { CmsClientStringUtil . pushArray ( filesToUnzipArray , filename ) ; } upload ( uploadUri , targetFolder , isRootPath , filesToUploadArray , filesToUnzipArray , dialog ) ; }
@see org.opencms.gwt.client.ui.input.upload.I_CmsUploader#uploadFiles(java.lang.String, java.lang.String, boolean, java.util.List, java.util.List, org.opencms.gwt.client.ui.input.upload.I_CmsUploadDialog)