|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.core.Debug.DBO
public static class Debug.DBO
contains debug methods
Field Summary | |
---|---|
Range |
m_outputTypes
range of outputtyp |
boolean |
m_verboseOn
enables/disables output of debug information |
Constructor Summary | |
---|---|
Debug.DBO()
|
Method Summary | |
---|---|
boolean |
dl(int num)
Return true if the debug level is set same method as outpuTypeSet but better name |
void |
dp(int debugType,
java.lang.String text)
prints out text but only if debug level is set. |
void |
dp(java.lang.String text)
prints out text if verbose is on. |
void |
dpln(int debugType,
java.lang.String text)
prints out text + endofline but only if parameter debug type is set. |
void |
dpln(java.lang.String text)
prints out text + endofline if verbose is on. |
java.lang.String |
getOutputTypes()
Gets the current output type selection |
void |
initializeRanges(int upper)
Initialize ranges, upper limit must be set |
boolean |
outputTypeSet(int num)
Return true if the outputtype is set |
static void |
p(java.lang.String text)
prints out text. |
static void |
pln(java.lang.String text)
prints out text + endofline. |
void |
setOutputTypes(java.lang.String list)
Switches the outputs on that are requested from the option O |
void |
setVerboseOn()
Set the verbose on flag on |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean m_verboseOn
public Range m_outputTypes
Constructor Detail |
---|
public Debug.DBO()
Method Detail |
---|
public void setVerboseOn()
public void initializeRanges(int upper)
upper
- upper limitpublic boolean outputTypeSet(int num)
num
- value that is reserved for a specific outputtype
public boolean dl(int num)
num
- value that is reserved for a specific outputtype
public void setOutputTypes(java.lang.String list)
list
- list of integers, all are used for an output typepublic java.lang.String getOutputTypes()
public void dpln(java.lang.String text)
text
- the text to printpublic void dpln(int debugType, java.lang.String text)
debugType
- the type of the outputtext
- the text to printpublic void dp(java.lang.String text)
text
- the text to printpublic void dp(int debugType, java.lang.String text)
debugType
- the type of the outputtext
- the text to printpublic static void pln(java.lang.String text)
text
- the text to printpublic static void p(java.lang.String text)
text
- the text to print
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |