public class AppendableStream extends Object implements Stream.Char
Stream.Char interface that uses an appendable delegate.Stream.Binary, Stream.Char| Constructor and Description |
|---|
AppendableStream(Appendable delegate) |
| Modifier and Type | Method and Description |
|---|---|
Stream.Char |
append(char c) |
Stream.Char |
append(CharArray chars) |
Stream.Char |
append(CharSequence s) |
Stream.Char |
append(CharSequence csq,
int start,
int end) |
void |
close() |
void |
flush() |
public AppendableStream(Appendable delegate)
public Stream.Char append(char c) throws IOException
append in interface Appendableappend in interface Stream.CharIOExceptionpublic Stream.Char append(CharSequence s) throws IOException
append in interface Appendableappend in interface Stream.CharIOExceptionpublic Stream.Char append(CharSequence csq, int start, int end) throws IOException
append in interface Appendableappend in interface Stream.CharIOExceptionpublic Stream.Char append(CharArray chars) throws IOException
append in interface Stream.CharIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void flush()
throws IOException
flush in interface FlushableIOExceptionCopyright © 2013 eXo Platform SAS. All Rights Reserved.