Package com.squareup.javapoet
Class LineWrapper.RecordingAppendable
- java.lang.Object
-
- com.squareup.javapoet.LineWrapper.RecordingAppendable
-
- All Implemented Interfaces:
java.lang.Appendable
- Enclosing class:
- LineWrapper
static final class LineWrapper.RecordingAppendable extends java.lang.Object implements java.lang.AppendableA delegatingAppendablethat records info about the chars passing through it.
-
-
Constructor Summary
Constructors Constructor Description RecordingAppendable(java.lang.Appendable delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Appendableappend(char c)java.lang.Appendableappend(java.lang.CharSequence csq)java.lang.Appendableappend(java.lang.CharSequence csq, int start, int end)
-
-
-
Method Detail
-
append
public java.lang.Appendable append(java.lang.CharSequence csq) throws java.io.IOException- Specified by:
appendin interfacejava.lang.Appendable- Throws:
java.io.IOException
-
append
public java.lang.Appendable append(java.lang.CharSequence csq, int start, int end) throws java.io.IOException- Specified by:
appendin interfacejava.lang.Appendable- Throws:
java.io.IOException
-
append
public java.lang.Appendable append(char c) throws java.io.IOException- Specified by:
appendin interfacejava.lang.Appendable- Throws:
java.io.IOException
-
-