public class IndentingAppender extends Object implements Appendable, Flushable, Closeable
| Constructor and Description |
|---|
IndentingAppender(Appendable base) |
| Modifier and Type | Method and Description |
|---|---|
IndentingAppender |
append(char c) |
IndentingAppender |
append(CharSequence csq) |
IndentingAppender |
append(CharSequence csq,
int start,
int end) |
IndentingAppender |
appendln(CharSequence csq) |
void |
close() |
IndentingAppender |
decrementIndent() |
void |
flush() |
IndentingAppender |
incrementIndent() |
public IndentingAppender(Appendable base)
public IndentingAppender incrementIndent()
public IndentingAppender decrementIndent()
public IndentingAppender appendln(CharSequence csq) throws IOException
IOExceptionpublic IndentingAppender append(CharSequence csq) throws IOException
append in interface AppendableIOExceptionpublic IndentingAppender append(CharSequence csq, int start, int end) throws IOException
append in interface AppendableIOExceptionpublic IndentingAppender append(char c) throws IOException
append in interface AppendableIOExceptionpublic void flush()
throws IOException
flush in interface FlushableIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2013–2014 0xdata. All rights reserved.