|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.uima.util.Level
public class Level
Provides the message level constants for logging and tracing
Field Summary | |
---|---|
static Level |
ALL
message level "ALL" |
static int |
ALL_INT
level value for level "ALL" |
static Level |
CONFIG
message level "CONFIG" |
static int |
CONFIG_INT
level value for level "CONFIG" |
static Level |
FINE
message level "FINE" |
static int |
FINE_INT
level value for level "FINE" |
static Level |
FINER
message level "FINER" |
static int |
FINER_INT
level value for level "FINER" |
static Level |
FINEST
message level "FINEST" |
static int |
FINEST_INT
level value for level "FINEST" |
static Level |
INFO
message level "INFO" |
static int |
INFO_INT
level value for level "INFO" |
static Level |
OFF
message level "OFF" |
static int |
OFF_INT
level value for level "OFF" |
static Level |
SEVERE
message level "SEVERE" |
static int |
SEVERE_INT
level value for level "SEVERE" |
static Level |
WARNING
message level "WARNING" |
static int |
WARNING_INT
level value for level "WARNING" |
Constructor Summary | |
---|---|
protected |
Level(int level,
String levelText)
Instantiate a new level object. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
int |
hashCode()
|
boolean |
isGreaterOrEqual(Level r)
method isGreaterOrEqual() returns true if the argument level is greater or equal to the specified level. |
boolean |
isOn()
method isOn() returns ture if the message level is not OFF |
int |
toInteger()
Returns the integer representation of this level. |
String |
toString()
Returns the string representation of this priority. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int OFF_INT
public static final int SEVERE_INT
public static final int WARNING_INT
public static final int INFO_INT
public static final int CONFIG_INT
public static final int FINE_INT
public static final int FINER_INT
public static final int FINEST_INT
public static final int ALL_INT
public static final Level OFF
public static final Level SEVERE
public static final Level WARNING
public static final Level INFO
public static final Level CONFIG
public static final Level FINE
public static final Level FINER
public static final Level FINEST
public static final Level ALL
Constructor Detail |
---|
protected Level(int level, String levelText)
level
- level valuelevelText
- level nameMethod Detail |
---|
public boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean isOn()
public boolean isGreaterOrEqual(Level r)
r
- argument level passed to the method
public final String toString()
toString
in class Object
Object.toString()
public final int toInteger()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |