public class IndentingAppender
extends java.lang.Object
implements java.lang.Appendable, java.io.Flushable, java.io.Closeable
Constructor and Description |
---|
IndentingAppender(java.lang.Appendable base) |
Modifier and Type | Method and Description |
---|---|
IndentingAppender |
append(char c) |
IndentingAppender |
append(java.lang.CharSequence csq) |
IndentingAppender |
append(java.lang.CharSequence csq,
int start,
int end) |
IndentingAppender |
appendln(java.lang.CharSequence csq) |
void |
close() |
IndentingAppender |
decrementIndent() |
void |
flush() |
IndentingAppender |
incrementIndent() |
public IndentingAppender incrementIndent()
public IndentingAppender decrementIndent()
public IndentingAppender appendln(java.lang.CharSequence csq) throws java.io.IOException
java.io.IOException
public IndentingAppender append(java.lang.CharSequence csq) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public IndentingAppender append(java.lang.CharSequence csq, int start, int end) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public IndentingAppender append(char c) throws java.io.IOException
append
in interface java.lang.Appendable
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException