public final class IndentedPrintWriter extends PrintWriter
Modifier and Type | Field and Description |
---|---|
private StringBuilder |
builder |
private char[] |
current |
private boolean |
empty |
private String |
indent |
out
Constructor and Description |
---|
IndentedPrintWriter(OutputStream out) |
IndentedPrintWriter(Writer writer) |
Modifier and Type | Method and Description |
---|---|
void |
decreaseIndent() |
void |
ensureNewLine() |
void |
increaseIndent() |
void |
println() |
void |
write(char[] buf,
int offset,
int count) |
void |
write(String s,
int offset,
int count) |
private void |
writeIndent() |
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, setError, write, write, write
private char[] current
private final String indent
private StringBuilder builder
private boolean empty
public IndentedPrintWriter(Writer writer)
public IndentedPrintWriter(OutputStream out)
public void write(char[] buf, int offset, int count)
write
in class PrintWriter
public void write(String s, int offset, int count)
write
in class PrintWriter
public void println()
println
in class PrintWriter
private void writeIndent()
public void ensureNewLine()
public void increaseIndent()
public void decreaseIndent()
Version 2.0.0 generated on 2014-11-22 at 09:45 - (C) 41concepts Aps. Refer to project homepage valjogen.41concepts.com for more information.