public class JTextAreaOutputStream extends OutputStream
| Constructor and Description |
|---|
JTextAreaOutputStream(JTextArea textArea)
Creates a new output stream that prints every 400 ms to the textArea.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
flushQueue() |
void |
shutdown()
Stop printing services, finishing to print any remaining tasks in the
context of the calling thread.
|
void |
shutdownNow()
Stop printing services immediately, not printing any remaining text.
|
void |
write(byte[] buffer) |
void |
write(byte[] buffer,
int off,
int len) |
void |
write(int i) |
void |
write(String string) |
public JTextAreaOutputStream(JTextArea textArea)
public void write(int i)
write in class OutputStreampublic void write(byte[] buffer)
write in class OutputStreampublic void write(byte[] buffer,
int off,
int len)
write in class OutputStreampublic void write(String string)
public void flushQueue()
public void flush()
flush in interface Flushableflush in class OutputStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreampublic void shutdown()
public void shutdownNow()
Copyright © 2015–2022 SciJava. All rights reserved.