Package org.apache.openmeetings.util
Class OmFileHelper
- java.lang.Object
-
- org.apache.openmeetings.util.OmFileHelper
-
public class OmFileHelper extends Object
-
-
Field Summary
-
Method Summary
-
-
-
Field Detail
-
WML_DIR
public static final String WML_DIR
- See Also:
- Constant Field Values
-
GROUP_LOGO_DIR
public static final String GROUP_LOGO_DIR
- See Also:
- Constant Field Values
-
FILE_NAME_FMT
public static final String FILE_NAME_FMT
- See Also:
- Constant Field Values
-
BACKUP_DIR
public static final String BACKUP_DIR
- See Also:
- Constant Field Values
-
IMPORT_DIR
public static final String IMPORT_DIR
- See Also:
- Constant Field Values
-
PROFILES_DIR
public static final String PROFILES_DIR
- See Also:
- Constant Field Values
-
SCREENSHARING_DIR
public static final String SCREENSHARING_DIR
- See Also:
- Constant Field Values
-
CSS_DIR
public static final String CSS_DIR
- See Also:
- Constant Field Values
-
CUSTOM_CSS
public static final String CUSTOM_CSS
- See Also:
- Constant Field Values
-
FILES_DIR
public static final String FILES_DIR
- See Also:
- Constant Field Values
-
HIBERNATE
public static final String HIBERNATE
- See Also:
- Constant Field Values
-
PERSISTENCE_NAME
public static final String PERSISTENCE_NAME
- See Also:
- Constant Field Values
-
DB_PERSISTENCE_NAME
public static final String DB_PERSISTENCE_NAME
- See Also:
- Constant Field Values
-
PROFILES_PREFIX
public static final String PROFILES_PREFIX
- See Also:
- Constant Field Values
-
GROUP_LOGO_PREFIX
public static final String GROUP_LOGO_PREFIX
- See Also:
- Constant Field Values
-
GROUP_CSS_PREFIX
public static final String GROUP_CSS_PREFIX
- See Also:
- Constant Field Values
-
LANG_FILE_NAME
public static final String LANG_FILE_NAME
- See Also:
- Constant Field Values
-
LIBRARY_FILE_NAME
public static final String LIBRARY_FILE_NAME
- See Also:
- Constant Field Values
-
PROFILE_IMG_NAME
public static final String PROFILE_IMG_NAME
- See Also:
- Constant Field Values
-
PROFILE_FILE_NAME
public static final String PROFILE_FILE_NAME
- See Also:
- Constant Field Values
-
RECORDING_FILE_NAME
public static final String RECORDING_FILE_NAME
- See Also:
- Constant Field Values
-
THUMB_IMG_PREFIX
public static final String THUMB_IMG_PREFIX
- See Also:
- Constant Field Values
-
DOC_PAGE_PREFIX
public static final String DOC_PAGE_PREFIX
- See Also:
- Constant Field Values
-
TEST_SETUP_PREFIX
public static final String TEST_SETUP_PREFIX
- See Also:
- Constant Field Values
-
DASHBOARD_FILE
public static final String DASHBOARD_FILE
- See Also:
- Constant Field Values
-
EXTENSION_WML
public static final String EXTENSION_WML
- See Also:
- Constant Field Values
-
EXTENSION_WEBM
public static final String EXTENSION_WEBM
- See Also:
- Constant Field Values
-
EXTENSION_MP4
public static final String EXTENSION_MP4
- See Also:
- Constant Field Values
-
EXTENSION_JPG
public static final String EXTENSION_JPG
- See Also:
- Constant Field Values
-
EXTENSION_PNG
public static final String EXTENSION_PNG
- See Also:
- Constant Field Values
-
EXTENSION_PDF
public static final String EXTENSION_PDF
- See Also:
- Constant Field Values
-
EXTENSION_CSS
public static final String EXTENSION_CSS
- See Also:
- Constant Field Values
-
WB_VIDEO_FILE_PREFIX
public static final String WB_VIDEO_FILE_PREFIX
- See Also:
- Constant Field Values
-
MP4_MIME_TYPE
public static final String MP4_MIME_TYPE
- See Also:
- Constant Field Values
-
JPG_MIME_TYPE
public static final String JPG_MIME_TYPE
- See Also:
- Constant Field Values
-
PNG_MIME_TYPE
public static final String PNG_MIME_TYPE
- See Also:
- Constant Field Values
-
BCKP_ROOM_FILES
public static final String BCKP_ROOM_FILES
- See Also:
- Constant Field Values
-
BCKP_RECORD_FILES
public static final String BCKP_RECORD_FILES
- See Also:
- Constant Field Values
-
SIP_USER_ID
public static final Long SIP_USER_ID
-
SIP_PICTURE_URI
public static final String SIP_PICTURE_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
setOmHome
public static void setOmHome(File home)
-
setOmHome
public static void setOmHome(String home)
-
getOmHome
public static File getOmHome()
-
getUploadDir
public static File getUploadDir()
-
getUploadFilesDir
public static File getUploadFilesDir()
-
getUploadProfilesDir
public static File getUploadProfilesDir()
-
getGroupLogoDir
public static File getGroupLogoDir()
-
getDefaultProfilePicture
public static File getDefaultProfilePicture()
-
getUploadImportDir
public static File getUploadImportDir()
-
getUploadBackupDir
public static File getUploadBackupDir()
-
getUploadWmlDir
public static File getUploadWmlDir()
-
getStreamsDir
public static File getStreamsDir()
-
getStreamsHibernateDir
public static File getStreamsHibernateDir()
-
getLanguagesDir
public static File getLanguagesDir()
-
getPublicDir
public static File getPublicDir()
-
getPublicClipartsDir
public static File getPublicClipartsDir()
-
getPublicEmotionsDir
public static File getPublicEmotionsDir()
-
getWebinfDir
public static File getWebinfDir()
-
getPersistence
public static File getPersistence()
-
getPersistence
public static File getPersistence(ConnectionProperties.DbType dbType)
-
loadLdapConf
public static void loadLdapConf(String name, Properties config)
-
getScreenSharingDir
public static File getScreenSharingDir()
-
getImagesDir
public static File getImagesDir()
-
getCssDir
public static File getCssDir()
-
getCssImagesDir
public static File getCssImagesDir()
-
getCustomCss
public static File getCustomCss()
-
getNewFile
public static File getNewFile(File dir, String name, String ext) throws IOException
- Throws:
IOException
-
getNewDir
public static File getNewDir(File dir, String name) throws IOException
- Throws:
IOException
-
getHumanSize
public static String getHumanSize(long size)
-
getSize
public static long getSize(File dir)
-
-