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