Package tools.msg
Class ValuePrinter
java.lang.Object
tools.msg.MsgFormatter
tools.msg.ValueFormatter
tools.msg.ValuePrinter
Print values to an output
- Author:
- Pavel Ponec
-
Field Summary
FieldsFields inherited from class tools.msg.ValueFormatter
valueBorderFields inherited from class tools.msg.MsgFormatter
DEFAULT_MARK, SEPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionValuePrinter(int size) ConstructorValuePrinter(@NotNull Appendable out) ConstructorValuePrinter(@NotNull String mark, @NotNull String textBorder, @NotNull Appendable out) Constructor -
Method Summary
Modifier and TypeMethodDescription@NotNull ValuePrinterappendValue(@Nullable Object value) Append valueStandarad writter@NotNull StringtoString()Writer resultMethods inherited from class tools.msg.ValueFormatter
format, formatSql, getSizeLimit, writeByteArray, writeLongValue, writeValueMethods inherited from class tools.msg.MsgFormatter
format, format, formatMsg, formatMsg
-
Field Details
-
out
Writer
-
-
Constructor Details
-
ValuePrinter
public ValuePrinter(int size) Constructor -
ValuePrinter
Constructor -
ValuePrinter
public ValuePrinter(@NotNull @NotNull String mark, @NotNull @NotNull String textBorder, @NotNull @NotNull Appendable out) Constructor
-
-
Method Details
-
appendValue
@NotNull public @NotNull ValuePrinter appendValue(@Nullable @Nullable Object value) throws IOException Append value- Throws:
IOException
-
getWriter
Standarad writter -
toString
Writer result
-