|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.metamodel.commons.debug.DebugString
public class DebugString
| Constructor Summary | |
|---|---|
DebugString()
|
|
| Method Summary | |
|---|---|
void |
append(int number,
int width)
Append the specified number within a space (number of spaces) specified by the width. |
void |
append(java.lang.Object object)
Append the specified object by calling it toString() method. |
void |
append(java.lang.Object object,
int width)
Append the specified object by calling its toString() method, placing it within specified
space. |
void |
appendAsHexln(java.lang.String label,
long value)
Append the specified number, displayed in hexadecimal notation, with the specified label, then start a new line. |
void |
appendException(java.lang.Exception e)
Append the message and trace of the specified exception. |
void |
appendln()
Start a new line. |
void |
appendln(java.lang.String text)
Append the specified text, then start a new line. |
void |
appendln(java.lang.String label,
boolean value)
Append the specified value, displayed as true or false, with the specified label, then start a new line. |
void |
appendln(java.lang.String label,
double value)
Append the specified number with the specified label, then start a new line. |
void |
appendln(java.lang.String label,
long value)
Append the specified number, displayed in hexadecimal notation, with the specified label, then start a new line. |
void |
appendln(java.lang.String label,
java.lang.Object object)
Append the specified object with the specified label, then start a new line. |
void |
appendln(java.lang.String label,
java.lang.Object[] object)
Append the elements of the specified array with the specified label. |
void |
appendTitle(java.lang.String title)
Append the specified title, then start a new line. |
void |
blankLine()
Append a blank line only if there are existing lines and the previous line is not blank. |
void |
endSection()
|
void |
indent()
Increase indent used when appending. |
void |
startSection(java.lang.String title)
|
java.lang.String |
toString()
Return the String representation of this debug string. |
void |
unindent()
Decrease indent used when appending. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DebugString()
| Method Detail |
|---|
public void append(int number,
int width)
public void append(java.lang.Object object)
toString() method.
public void append(java.lang.Object object,
int width)
toString() method, placing it within specified
space.
public void appendAsHexln(java.lang.String label,
long value)
public void appendException(java.lang.Exception e)
public void appendln()
blankLine()public void appendln(java.lang.String text)
public void appendln(java.lang.String label,
boolean value)
public void appendln(java.lang.String label,
double value)
public void appendln(java.lang.String label,
long value)
public void appendln(java.lang.String label,
java.lang.Object object)
public void appendln(java.lang.String label,
java.lang.Object[] object)
public void appendTitle(java.lang.String title)
public void startSection(java.lang.String title)
public void endSection()
public void blankLine()
public void indent()
public java.lang.String toString()
String representation of this debug string.
toString in class java.lang.Objectpublic void unindent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||