com.wavemaker.runtime.commons.util.FileUploadConstants Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* Copyright (C) 2022-2023 WaveMaker, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
******************************************************************************/
package com.wavemaker.runtime.commons.util;
public class FileUploadConstants {
public static final String APP_PROPERTIES_FILE = ".wmproject.properties";
public static final String DEFAULT_ALLOWED_FILE_UPLOAD_EXTENSIONS = "doc, docx, xls, xlsx, csv, pdf, txt, image/*";
public static final String SUPPORTED_IMAGE_EXTENSIONS = "bmp,gif,jpe,jpg,jpeg,tif,tiff,pbm,png,ico,svg";
public static final String SUPPORTED_AUDIO_EXTENSIONS = "mp3,ogg,webm,wma,3gp,wav,m4a";
public static final String SUPPORTED_VIDEO_EXTENSIONS = "mp4,ogg,webm,wmv,mpeg,mpg,avi";
public static final String ALLOWED_FILE_UPLOAD_EXTENSIONS = "allowedFileUploadExtensions";
}