public class WrapAppendable
extends java.lang.Object
implements java.lang.Appendable
Appendable in the generated template to 1. handle IOExceptions
that otherwise are tedious to handle inside lambdas and 2. handle indentation for nesting| Constructor and Description |
|---|
WrapAppendable(java.lang.Appendable appendable,
java.lang.String indentation) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Appendable |
append(char c) |
java.lang.Appendable |
append(java.lang.CharSequence csq) |
java.lang.Appendable |
append(java.lang.CharSequence csq,
int start,
int end) |
public WrapAppendable(java.lang.Appendable appendable,
java.lang.String indentation)
public java.lang.Appendable append(java.lang.CharSequence csq)
append in interface java.lang.Appendablepublic java.lang.Appendable append(java.lang.CharSequence csq,
int start,
int end)
append in interface java.lang.Appendablepublic java.lang.Appendable append(char c)
append in interface java.lang.AppendableCopyright © 2023. All rights reserved.