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