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, wait
append, append
final ScreenContext out
private boolean closed
private boolean empty
public RenderWriter(ScreenContext out) throws NullPointerException
NullPointerException
public RenderWriter(ScreenContext out, Closeable closeable) throws NullPointerException
NullPointerException
public boolean isEmpty()
public RenderWriter append(CharSequence s) throws IOException
append
in interface Appendable
append
in class Writer
IOException
public Screenable append(Style style) throws IOException
append
in interface Screenable
IOException
public Screenable cls() throws IOException
cls
in interface Screenable
IOException
public void write(char[] cbuf, int off, int len) throws IOException
write
in class Writer
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class Writer
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.