Class AutoIndentWriter

java.lang.Object
java.io.Writer
java.io.FilterWriter
org.codehaus.janino.util.AutoIndentWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class AutoIndentWriter extends FilterWriter
A FilterWriter that indents lines by processing some control characters in the character stream.

INDENT or UNINDENT may precede lines and indicate that the line and all following lines should be (un)indented by one position.

TABULATORs may appear anywhere in lines and dictate that portions of all following lines should be vertically aligned (see resolveTabs(List)).