public class PrettyFormaterImpl extends java.lang.Object implements PrettyFormatter
Constructor and Description |
---|
PrettyFormaterImpl() |
Modifier and Type | Method and Description |
---|---|
void |
append(java.lang.Object o) |
java.lang.String |
build() |
void |
indent() |
void |
nl() |
void |
pop() |
void |
push() |
void |
setIndentSize(int indentSize) |
void |
setUseNl(boolean useNl) |
void |
unindent() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
public void setIndentSize(int indentSize)
setIndentSize
in interface PrettyFormatter
public void setUseNl(boolean useNl)
setUseNl
in interface PrettyFormatter
public void indent()
indent
in interface PrettyFormatter
public void unindent()
unindent
in interface PrettyFormatter
public void nl()
nl
in interface PrettyFormatter
public void push()
push
in interface PrettyFormatter
public void pop()
pop
in interface PrettyFormatter
public void append(java.lang.Object o)
append
in interface PrettyFormatter
public java.lang.String build()
build
in interface PrettyFormatter