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 Appendable
append
in class Writer
public IndentWriter append(CharSequence cs, int start, int end)
append
in interface Appendable
append
in class Writer
public IndentWriter append(char c)
append
in interface Appendable
append
in class Writer
public void flush()
Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.