|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.media.datastore.sepengine.LogManager
Class responsible for managing logging messages. Loading them from the resource bundles and properly displaying them on the requested writer.
String
,
Properties
Field Summary | |
protected static LogManager |
_logManager
|
Method Summary | |
String |
getMessage(String message_id)
|
static LogManager |
getReference()
Method for getting the LogManager instance. |
void |
message(String type_id,
String message_id)
The main method for displaying system messages for datastore. |
void |
message(String type_id,
String message_id,
String suplement)
The main method for displaying system messages for datastore. |
void |
message(String type_id,
String message_id,
String suplement,
String prefix)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static LogManager _logManager
Method Detail |
public static LogManager getReference()
public void message(String type_id, String message_id)
type_id
- The type of the messages (error, warning, ...). This is
actually an key in the resource bundle where the actual value which will be
displayed is hold. datastore.messages.type. has to be inserted before the key in the resource
bundle to store such messages types.
datastore.messages.type.warning=[WARNING]
message_id
- The id of the messages. This is
actually an key in the resource bundle where the actual value which will be
displayed is hold. datastore.messages. has to be inserted before the key in the resource
bundle to store such messages.
datastore.messages.file_missing=Sorry the file: xxx.jar \n is mising.
public void message(String type_id, String message_id, String suplement)
type_id
- The type of the messages (error, warning, ...). This is
actually an key in the resource bundle where the actual value which will be
displayed is hold. datastore.messages.type. has to be inserted before the key in the resource
bundle to store such messages types.
datastore.messages.type.warning=[WARNING]
message_id
- The id of the messages. This is
actually an key in the resource bundle where the actual value which will be
displayed is hold. datastore.messages. has to be inserted before the key in the resource
bundle to store such messages.
datastore.messages.file_missing=Sorry the file: xxx.jar \n is mising.
suplement
- Another text to be added to the message.public void message(String type_id, String message_id, String suplement, String prefix)
public String getMessage(String message_id)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |