|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.tireme.shared.logging.ConsoleLoggingManager
public class ConsoleLoggingManager
Enables to log console messages on a stream and then, as soon as needed, to output it in a JTextArea object.
| Field Summary | |
|---|---|
static java.util.logging.Logger |
cons
The console logger |
| Constructor Summary | |
|---|---|
ConsoleLoggingManager()
Constructor to be used with toString. |
|
ConsoleLoggingManager(javax.swing.JTextArea textLogArea_)
Constructor defining where the output needs to be sent (to be used with dumpInTextLog) |
|
| Method Summary | |
|---|---|
void |
dumpInTextLog()
Dump all stored informations in a textLogArea. |
java.util.logging.Logger |
getConsole()
Enables to get the logger in order to write messages. |
java.util.logging.Handler |
getHandler()
Enables to get the logger in order to write messages. |
void |
newConsole()
Remove the previous stored stream and creates a noew one. |
java.lang.String |
toString()
Dump all stored informations in a string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static java.util.logging.Logger cons
| Constructor Detail |
|---|
public ConsoleLoggingManager(javax.swing.JTextArea textLogArea_)
textLogArea_ - where to store messages in the interfacepublic ConsoleLoggingManager()
| Method Detail |
|---|
public void newConsole()
public java.util.logging.Logger getConsole()
public java.util.logging.Handler getHandler()
public void dumpInTextLog()
throws Xml2outputExcept
Xml2outputExceptpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||