|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jcms.fileprocessor.ui.FileProcessorUIUtil
public class FileProcessorUIUtil
Field Summary | |
---|---|
static String |
ICON_DO_BLACKLIST
|
static String |
ICON_DO_PARTIAL_BLACKLIST
|
static String |
ICON_ERROR
|
static String |
ICON_EVENTS
|
static String |
ICON_EXTENSIONS
|
static String |
ICON_FILE_BLACKLISTED
|
static String |
ICON_FILE_INDEXED
|
static String |
ICON_FILE_PARTIALLY_BLACKLISTED
|
static String |
ICON_FILE_STATUS
|
static String |
ICON_GLOBAL_REPORT
|
static String |
ICON_IGNORED
|
static String |
ICON_OK
|
static String |
ICON_PROCESSOR
|
static String |
ICON_START_REPOSITORY
|
static String |
ICON_STOP_REPOSITORY
|
static String |
ICON_UNDO_BLACKLIST
|
static String |
ICON_UNDO_PARTIAL_BLACKLIST
|
static String |
ICONS_DIR
|
Constructor Summary | |
---|---|
FileProcessorUIUtil()
|
Method Summary | |
---|---|
static String |
getDisplayPercent(int part,
int all)
|
static String |
getFileTypeIcon(String filename,
String userLang)
Method to get file type icon when possible. |
static String |
getFileTypeIconFromExtension(String extension,
String userLang)
Method to get file type icon when possible. |
static String |
getStatusIconHtml(FileProcessingLog log,
String userLang)
Retrieve the HTML to use for the specified log's status representation |
static String |
getStatusIconHtml(ProcessingStatus status,
String userLang)
Retrieve the HTML to use for the specified status representation |
static String |
getStatusIconPath(ProcessingStatus status)
Retrieve the icon path to use for the specified status representation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String ICONS_DIR
public static String ICON_FILE_BLACKLISTED
public static String ICON_FILE_INDEXED
public static String ICON_FILE_PARTIALLY_BLACKLISTED
public static String ICON_OK
public static String ICON_ERROR
public static String ICON_IGNORED
public static String ICON_DO_BLACKLIST
public static String ICON_DO_PARTIAL_BLACKLIST
public static String ICON_UNDO_BLACKLIST
public static String ICON_UNDO_PARTIAL_BLACKLIST
public static String ICON_STOP_REPOSITORY
public static String ICON_START_REPOSITORY
public static String ICON_GLOBAL_REPORT
public static String ICON_FILE_STATUS
public static String ICON_PROCESSOR
public static String ICON_EXTENSIONS
public static String ICON_EVENTS
Constructor Detail |
---|
public FileProcessorUIUtil()
Method Detail |
---|
public static String getStatusIconPath(ProcessingStatus status)
status
- the ProcessingStatus to represent as an icon
public static String getStatusIconHtml(ProcessingStatus status, String userLang)
status
- the ProcessingStatus to represent as an iconuserLang
- the ISO-639 user language in which to perform I18N
public static String getStatusIconHtml(FileProcessingLog log, String userLang)
log
- the FileProcessingLog to represent as an iconuserLang
- the ISO-639 user language in which to perform I18N
public static String getFileTypeIcon(String filename, String userLang)
filename
- or part of the filename ending with current extension.userLang
- the ISO-639 user language in which to perform I18N
public static String getFileTypeIconFromExtension(String extension, String userLang)
extension
- generic file extensionuserLang
- the ISO-639 user language in which to perform I18N
public static String getDisplayPercent(int part, int all)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |