Package org.apache.openmeetings.util
Class OmFileHelper
java.lang.Object
org.apache.openmeetings.util.OmFileHelper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final Long
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic File
appendSuffix
(File original, String suffix) static File
static File
static File
static File
static String
getFileExt
(String name) static String
getFileName
(String name) static File
getGroupCss
(Long groupId, boolean check) static File
getGroupLogo
(Long groupId, boolean check) static File
static String
getHumanSize
(long size) static String
getHumanSize
(File dir) static File
static File
static File
getLdapConf
(String name) static String
static File
static File
getNewFile
(File dir, String name, String ext) static File
static File
static File
static File
static File
static File
static File
getRecording
(String name) static File
getRecordingChunk
(Long roomId, String name) static String
static File
static long
static File
static File
static File
getStreamsSubDir
(Long id) static File
getStreamsSubDir
(String name) static File
static File
static File
static File
static File
static File
getUploadProfilesUserDir
(Long userId) static File
getUploadProfilesUserDir
(String userId) static File
getUploadRoomDir
(String roomName) static File
static File
getUserDashboard
(Long userId) static File
getUserProfilePicture
(Long userId, String uri) static File
getUserProfilePicture
(Long userId, String uri, File def) static File
static void
loadLdapConf
(String name, Properties config) static void
static void
-
Field Details
-
WML_DIR
- See Also:
-
GROUP_LOGO_DIR
- See Also:
-
FILE_NAME_FMT
- See Also:
-
BACKUP_DIR
- See Also:
-
IMPORT_DIR
- See Also:
-
PROFILES_DIR
- See Also:
-
SCREENSHARING_DIR
- See Also:
-
CSS_DIR
- See Also:
-
CUSTOM_CSS
- See Also:
-
FILES_DIR
- See Also:
-
HIBERNATE
- See Also:
-
PERSISTENCE_NAME
- See Also:
-
DB_PERSISTENCE_NAME
- See Also:
-
PROFILES_PREFIX
- See Also:
-
GROUP_LOGO_PREFIX
- See Also:
-
GROUP_CSS_PREFIX
- See Also:
-
LANG_FILE_NAME
- See Also:
-
LIBRARY_FILE_NAME
- See Also:
-
PROFILE_IMG_NAME
- See Also:
-
PROFILE_FILE_NAME
- See Also:
-
RECORDING_FILE_NAME
- See Also:
-
THUMB_IMG_PREFIX
- See Also:
-
DOC_PAGE_PREFIX
- See Also:
-
TEST_SETUP_PREFIX
- See Also:
-
DASHBOARD_FILE
- See Also:
-
EXTENSION_WML
- See Also:
-
EXTENSION_WEBM
- See Also:
-
EXTENSION_MP4
- See Also:
-
EXTENSION_JPG
- See Also:
-
EXTENSION_PNG
- See Also:
-
EXTENSION_PDF
- See Also:
-
EXTENSION_CSS
- See Also:
-
WB_VIDEO_FILE_PREFIX
- See Also:
-
MP4_MIME_TYPE
- See Also:
-
JPG_MIME_TYPE
- See Also:
-
PNG_MIME_TYPE
- See Also:
-
BCKP_ROOM_FILES
- See Also:
-
BCKP_RECORD_FILES
- See Also:
-
SIP_USER_ID
-
SIP_PICTURE_URI
- See Also:
-
-
Method Details
-
setOmHome
-
setOmHome
-
getOmHome
-
getUploadDir
-
getUploadFilesDir
-
getUploadProfilesDir
-
getUploadProfilesUserDir
-
getUploadProfilesUserDir
-
getGroupLogoDir
-
getGroupLogo
-
getGroupCss
-
getDefaultProfilePicture
-
getUserProfilePicture
-
getUserProfilePicture
-
getUserDashboard
-
getUploadImportDir
-
getUploadBackupDir
-
getUploadRoomDir
-
getUploadWmlDir
-
getStreamsDir
-
getStreamsHibernateDir
-
getRecording
-
getStreamsSubDir
-
getStreamsSubDir
-
getRecUri
-
getName
-
getRecordingChunk
-
getLanguagesDir
-
getPublicDir
-
getPublicClipartsDir
-
getPublicEmotionsDir
-
getWebinfDir
-
getPersistence
-
getPersistence
-
getLdapConf
-
loadLdapConf
-
getScreenSharingDir
-
getImagesDir
-
getCssDir
-
getCssImagesDir
-
getCustomCss
-
appendSuffix
-
getNewFile
- Throws:
IOException
-
getNewDir
- Throws:
IOException
-
getHumanSize
-
getHumanSize
-
getSize
-
getFileName
-
getFileExt
-