Class IndentWriter
java.lang.Object
com.espertech.esper.common.internal.util.IndentWriter
Writer that uses an underlying PrintWriter to indent output text for easy reading.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Decrease the indentation one level.void
Increase the indentation one level.void
Print text to the underlying writer.
-
Constructor Details
-
IndentWriter
Ctor.- Parameters:
writer
- to output tostartIndent
- is the depth of indent to startdeltaIndent
- is the number of characters to indent for every incrIndent() call
-
-
Method Details
-
incrIndent
public void incrIndent()Increase the indentation one level. -
decrIndent
public void decrIndent()Decrease the indentation one level. -
println
Print text to the underlying writer.- Parameters:
text
- to print
-