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, waitgetpublic void setIndentSize(int indentSize)
setIndentSize in interface PrettyFormatterpublic void setUseNl(boolean useNl)
setUseNl in interface PrettyFormatterpublic void indent()
indent in interface PrettyFormatterpublic void unindent()
unindent in interface PrettyFormatterpublic void nl()
nl in interface PrettyFormatterpublic void push()
push in interface PrettyFormatterpublic void pop()
pop in interface PrettyFormatterpublic void append(java.lang.Object o)
append in interface PrettyFormatterpublic java.lang.String build()
build in interface PrettyFormatter