public class RenderWriter extends Writer implements Screenable
| Modifier and Type | Field and Description |
|---|---|
private Closeable |
closeable
.
|
private boolean |
closed
.
|
private boolean |
empty
.
|
(package private) ScreenContext |
out
.
|
| Constructor and Description |
|---|
RenderWriter(ScreenContext out) |
RenderWriter(ScreenContext out,
Closeable closeable) |
| Modifier and Type | Method and Description |
|---|---|
RenderWriter |
append(CharSequence s) |
Screenable |
append(Style style) |
void |
close() |
Screenable |
cls() |
void |
flush() |
boolean |
isEmpty() |
void |
write(char[] cbuf,
int off,
int len) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, appendfinal ScreenContext out
private boolean closed
private boolean empty
public RenderWriter(ScreenContext out) throws NullPointerException
NullPointerExceptionpublic RenderWriter(ScreenContext out, Closeable closeable) throws NullPointerException
NullPointerExceptionpublic boolean isEmpty()
public RenderWriter append(CharSequence s) throws IOException
append in interface Appendableappend in class WriterIOExceptionpublic Screenable append(Style style) throws IOException
append in interface ScreenableIOExceptionpublic Screenable cls() throws IOException
cls in interface ScreenableIOExceptionpublic void write(char[] cbuf, int off, int len) throws IOException
write in class WriterIOExceptionpublic void flush() throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionCopyright © 2015 eXo Platform SAS. All Rights Reserved.