public class LengthTrackingAppendableImpl extends Object implements LengthTrackingAppendable
| Constructor and Description |
|---|
LengthTrackingAppendableImpl(Appendable appendable) |
| Modifier and Type | Method and Description |
|---|---|
LengthTrackingAppendable |
append(char c) |
LengthTrackingAppendable |
append(CharSequence csq) |
LengthTrackingAppendable |
append(CharSequence csq,
int start,
int end) |
Appendable |
getAppendable() |
int |
getLength() |
static LengthTrackingAppendable |
of(Appendable appendable) |
String |
toString() |
public LengthTrackingAppendableImpl(Appendable appendable)
public int getLength()
getLength in interface LengthTrackingAppendablepublic LengthTrackingAppendable append(CharSequence csq) throws IOException
append in interface AppendableIOExceptionpublic LengthTrackingAppendable append(CharSequence csq, int start, int end) throws IOException
append in interface AppendableIOExceptionpublic LengthTrackingAppendable append(char c) throws IOException
append in interface AppendableIOExceptionpublic Appendable getAppendable()
public static LengthTrackingAppendable of(Appendable appendable)
Copyright © 2018. All rights reserved.