public class AppendableOutputSource extends java.lang.Object implements OutputSource
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Appendable |
ap |
| Constructor and Description |
|---|
AppendableOutputSource(java.lang.Appendable ap) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(char c) |
void |
append(java.lang.String text) |
void |
append(java.lang.String text,
int start,
int end) |
void |
flush() |
java.lang.String |
toString() |
public void append(java.lang.String text)
throws java.io.IOException
append in interface OutputSourcejava.io.IOExceptionpublic void append(java.lang.String text,
int start,
int end)
throws java.io.IOException
append in interface OutputSourcejava.io.IOExceptionpublic void append(char c)
throws java.io.IOException
append in interface OutputSourcejava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface OutputSourcejava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object