|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.utils.errorlog.ErrorLog
public class ErrorLog
Just used for utils.math
Field Summary | |
---|---|
protected static boolean |
containsErrors
|
protected static java.util.Queue |
errors
|
static boolean |
logging
Change to FALSE if you wish to disable ErrorLog. |
static boolean |
logToScreen
If true ... all messages are also printed to System.out |
protected static ErrorLog |
thisClass
|
Constructor Summary | |
---|---|
protected |
ErrorLog()
|
Method Summary | |
---|---|
static boolean |
add(ErrorMessage em)
Main method which is used to add ErrorMessages into property 'errors'. |
static boolean |
add(java.lang.Object o)
|
static boolean |
add(java.lang.String message,
int severity)
|
static boolean |
addAll(java.util.Collection c)
|
static void |
clear()
|
static boolean |
contains(java.lang.Object o)
|
static boolean |
containsAll(java.util.Collection c)
|
static ErrorLog |
getInstance()
|
protected static void |
checkError(ErrorMessage em)
|
static boolean |
isEmpty()
|
static java.util.Iterator |
iterator()
|
static ErrorMessage |
peek()
|
static ErrorMessage |
poll()
Returns first (front) error message or null if empty. |
static boolean |
remove(java.lang.Object o)
|
static boolean |
removeAll(java.util.Collection c)
|
static boolean |
retainAll(java.util.Collection c)
|
static void |
showAllErrors(java.awt.Frame owner)
|
static int |
size()
|
static java.lang.Object[] |
toArray()
|
static java.lang.Object[] |
toArray(java.lang.Object[] a)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean logging
public static boolean logToScreen
protected static ErrorLog thisClass
protected static java.util.Queue errors
protected static boolean containsErrors
Constructor Detail |
---|
protected ErrorLog()
Method Detail |
---|
public static ErrorLog getInstance()
public static void showAllErrors(java.awt.Frame owner)
public static int size()
public static ErrorMessage peek()
public static ErrorMessage poll()
public static boolean add(java.lang.String message, int severity)
protected static void checkError(ErrorMessage em)
public static boolean add(ErrorMessage em)
em
-
public static boolean add(java.lang.Object o)
public static boolean addAll(java.util.Collection c)
public static void clear()
public static boolean contains(java.lang.Object o)
public static boolean containsAll(java.util.Collection c)
public static boolean isEmpty()
public static java.util.Iterator iterator()
public static boolean remove(java.lang.Object o)
public static boolean removeAll(java.util.Collection c)
public static boolean retainAll(java.util.Collection c)
public static java.lang.Object[] toArray()
public static java.lang.Object[] toArray(java.lang.Object[] a)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |