public class ValuePrinter extends ValueFormatter
Modifier and Type | Field and Description |
---|---|
protected StringBuilder |
out
Writer
|
valueBorder
DEFAULT_MARK, SEPARATOR
Constructor and Description |
---|
ValuePrinter(int size)
Constructor
|
ValuePrinter(StringBuilder out)
Constructor
|
ValuePrinter(String mark,
String textBorder,
StringBuilder out)
Constructor
|
Modifier and Type | Method and Description |
---|---|
ValuePrinter |
appendValue(Object value)
Append value
|
StringBuilder |
getWriter()
Standarad writter
|
String |
toString()
Writer result
|
format, formatSql, getSizeLimit, writeByteArray, writeLongValue, writeValue
format, format, formatMsg, formatMsg, getPrintWriter
protected final StringBuilder out
public ValuePrinter(int size)
public ValuePrinter(@Nonnull StringBuilder out)
@Nonnull public ValuePrinter appendValue(@Nullable Object value)
public StringBuilder getWriter()
Copyright 2019-2022, Pavel Ponec