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