public interface ToStringBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuilder |
toString(java.lang.StringBuilder app,
java.lang.String... cond)
This is a better version of a toString() concept for elaborately outputs.
|
java.lang.StringBuilder toString(java.lang.StringBuilder app, java.lang.String... cond)
app
- an Appendable, especially a StringBuilder which have no additional tyry.catch necessitiescond
- Any string optional, for conditions to control the output.
// * @throws IOException This is the necessity of Appendable.append(CharSequence)
.
// * It may be caught to throw new RuntimeException(exc) it not expected.
// * Especially a StringBuilder.append(CharSequence)
does not throw an exception.