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.IOExceptionpublic IndentingAppender append(java.lang.CharSequence csq) throws java.io.IOException
append in interface java.lang.Appendablejava.io.IOExceptionpublic IndentingAppender append(java.lang.CharSequence csq, int start, int end) throws java.io.IOException
append in interface java.lang.Appendablejava.io.IOExceptionpublic IndentingAppender append(char c) throws java.io.IOException
append in interface java.lang.Appendablejava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushablejava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException