Package io.deephaven.util.text
Class Indenter
java.lang.Object
io.deephaven.util.text.Indenter
Simple utility class for managing the indentation of generated code.
Pass the indenter to your StringBuilder; calling increaseLevel or decreaseLevel as you start and finish your indentation blocks.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecreaseLevel
(int levels) increaseLevel
(int levels) indent
(StringBuilder destination, String block) toString()