Class LineWrapper.RecordingAppendable
java.lang.Object
com.squareup.javapoet.LineWrapper.RecordingAppendable
- All Implemented Interfaces:
Appendable
- Enclosing class:
LineWrapper
A delegating
Appendable that records info about the chars passing through it.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(char c) append(CharSequence csq) append(CharSequence csq, int start, int end)
-
Field Details
-
delegate
-
lastChar
char lastChar
-
-
Constructor Details
-
RecordingAppendable
RecordingAppendable(Appendable delegate)
-
-
Method Details
-
append
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-
append
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-
append
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-