private static final class ReportGenerator.IndentingWriter
extends java.io.BufferedWriter
Modifier and Type | Field and Description |
---|---|
private static int |
INDENT_INCREMENT |
private int |
m_indent |
private java.lang.String |
m_sindent |
private int |
m_state |
Constructor and Description |
---|
IndentingWriter(java.io.Writer out,
int buffer,
int indent) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
decIndent() |
(package private) void |
decIndent(int delta) |
(package private) java.lang.String |
getIndent() |
(package private) void |
incIndent() |
(package private) void |
incIndent(int delta) |
private void |
indent() |
void |
newLine() |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(int c) |
void |
write(java.lang.String s,
int off,
int len) |
private int m_indent
private int m_state
private transient java.lang.String m_sindent
private static final int INDENT_INCREMENT
public void newLine() throws java.io.IOException
newLine
in class java.io.BufferedWriter
java.io.IOException
public void write(char[] cbuf, int off, int len) throws java.io.IOException
write
in class java.io.BufferedWriter
java.io.IOException
public void write(int c) throws java.io.IOException
write
in class java.io.BufferedWriter
java.io.IOException
public void write(java.lang.String s, int off, int len) throws java.io.IOException
write
in class java.io.BufferedWriter
java.io.IOException
void incIndent(int delta)
void incIndent()
void decIndent(int delta)
void decIndent()
java.lang.String getIndent()
private void indent() throws java.io.IOException
java.io.IOException