A writer which delegates to another writer and supports an additional indenting level.
Constructor and description |
---|
DelegatingIndentWriter
(Writer delegate) |
DelegatingIndentWriter
(Writer delegate, String indentString) |
Type Params | Return Type | Name and description |
---|---|---|
|
Writer |
append(CharSequence csq) |
|
Writer |
append(CharSequence csq, int start, int end) |
|
Writer |
append(char c) |
|
void |
close() |
|
void |
flush() |
|
int |
next() |
|
int |
previous() |
|
void |
write(int c) |
|
void |
write(char[] cbuf) |
|
void |
write(char[] cbuf, int off, int len) |
|
void |
write(String str) |
|
void |
write(String str, int off, int len) |
|
void |
writeIndent() |
Methods inherited from class | Name |
---|---|
class Writer |
append, append, append, append, append, append, write, write, write, write, write, flush, close, nullWriter, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Copyright © 2003-2018 The Apache Software Foundation. All rights reserved.