public final class IndentWriter extends Writer
| Constructor and Description |
|---|
IndentWriter() |
| Modifier and Type | Method and Description |
|---|---|
IndentWriter |
append(char c) |
IndentWriter |
append(CharSequence cs) |
IndentWriter |
append(CharSequence cs,
int start,
int end) |
void |
close() |
IndentWriter |
dec()
Decrease indentation.
|
void |
flush() |
IndentWriter |
inc()
Increase indentation.
|
String |
toString() |
void |
write(char[] buf,
int off,
int len) |
void |
write(int c) |
void |
write(String s) |
void |
write(String s,
int off,
int len) |
public IndentWriter inc()
public IndentWriter dec()
public IndentWriter append(CharSequence cs)
append in interface Appendableappend in class Writerpublic IndentWriter append(CharSequence cs, int start, int end)
append in interface Appendableappend in class Writerpublic IndentWriter append(char c)
append in interface Appendableappend in class Writerpublic void flush()
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.