|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--at.dms.dis.IndentingWriter
This class allows indented output.
Constructor Summary | |
IndentingWriter(java.io.PrintWriter out)
Creates a new indenting writer. |
Method Summary | |
void |
decrementLevel()
Decrements the indentation level. |
void |
incrementLevel()
Increments the indentation level. |
void |
print(int value)
Prints an integer. |
void |
print(java.lang.String value)
Prints a string. |
void |
println()
Terminates the current line by writing the line separator string and moving to the current indentation level. |
void |
println(java.lang.String str)
Prints a string and then terminates the line. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public IndentingWriter(java.io.PrintWriter out)
out
- The print writer to writer to.Method Detail |
public void incrementLevel()
public void decrementLevel()
public void print(java.lang.String value)
value
- The string to print.public void print(int value)
value
- The integer to print.public void println()
public void println(java.lang.String str)
str
- The string to print.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |