|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.util.IndentWriter
public class IndentWriter
Writer that uses an underlying PrintWriter to indent output text for easy reading.
Constructor Summary | |
---|---|
IndentWriter(java.io.PrintWriter writer,
int startIndent,
int deltaIndent)
Ctor. |
Method Summary | |
---|---|
void |
decrIndent()
Decrease the indentation one level. |
void |
incrIndent()
Increase the indentation one level. |
void |
println(java.lang.String text)
Print text to the underlying writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndentWriter(java.io.PrintWriter writer, int startIndent, int deltaIndent)
writer
- to output tostartIndent
- is the depth of indent to startdeltaIndent
- is the number of characters to indent for every incrIndent() callMethod Detail |
---|
public void incrIndent()
public void decrIndent()
public void println(java.lang.String text)
text
- to print
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |