|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcfa.vo.sed.io.SEDMessager
public class SEDMessager
| Field Summary | |
|---|---|
static int |
ALL
|
static int |
FINE
|
static int |
FINEST
|
static int |
INFO
|
static int |
OFF
|
static int |
SEVERE
|
static int |
WARNING
|
| Constructor Summary | |
|---|---|
SEDMessager()
|
|
| Method Summary | |
|---|---|
static void |
addMessage(java.lang.String msg)
Add a message to the collection of messages. |
static void |
addMessage(java.lang.String msg,
int level)
Add a message to the collection of messages at the specified level. |
static void |
clear()
Clears the message queue |
static java.util.Vector |
getMessages()
Returns all existing messages, no matter what level |
static java.util.Vector |
getMessages(int level)
Returns all messages with requested importance level and higher |
static boolean |
isEmpty()
Tells whether or not there are messages to be retrieved |
static boolean |
isEmpty(int level)
Tells whether or not there are messages of the given level to be retrieved |
static int |
numMessages()
|
static void |
printMessages()
Prints all messages to standard out. |
static void |
printMessages(int level)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int OFF
public static final int SEVERE
public static final int WARNING
public static final int INFO
public static final int FINE
public static final int FINEST
public static final int ALL
| Constructor Detail |
|---|
public SEDMessager()
| Method Detail |
|---|
public static boolean isEmpty()
public static boolean isEmpty(int level)
public static int numMessages()
public static java.util.Vector getMessages()
Vectorpublic static java.util.Vector getMessages(int level)
Vectorpublic static void printMessages()
public static void printMessages(int level)
public static void clear()
public static void addMessage(java.lang.String msg)
msg - String
public static void addMessage(java.lang.String msg,
int level)
msg - Stringlevel - int
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||