|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fraunhofer.ipsi.util.IndentPrinter
public class IndentPrinter
The class IndentPrinter is used to print structured data in as an indented hierarchy.
Constructor Summary | |
---|---|
IndentPrinter()
This constructor will create a new IndentPrinter with default indent values. |
|
IndentPrinter(java.io.Writer output)
This constructor will create a new IndentPrinter with default indent values. |
Method Summary | |
---|---|
void |
emptyLine()
Method emptyLine |
int |
getIndent()
The current number of spaces that will be indented. |
void |
indentDecrease()
This function decreases the indent by the indent value. |
void |
indentIncrease()
This function increases the indent by the indent value. |
void |
newLine()
Method newLine |
void |
print(java.lang.Object o)
Standard print like System.out.print( Object ) |
void |
setIndent(int i)
Sets the number of spaces that are indented by the indentPrint function. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndentPrinter()
public IndentPrinter(java.io.Writer output)
Method Detail |
---|
public void setIndent(int i)
i
- Integer - number of spaces to indentpublic int getIndent()
public void indentIncrease()
getIndent, setIndent
public void indentDecrease()
setIndent, getIndent
public void print(java.lang.Object o)
o
- The object that should be printed.public void newLine()
public void emptyLine()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |