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 OutputStream
public void write(byte[] buffer)
write
in class OutputStream
public void write(byte[] buffer, int off, int len)
write
in class OutputStream
public void write(String string)
public void flushQueue()
public void flush()
flush
in interface Flushable
flush
in class OutputStream
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
public void shutdown()
public void shutdownNow()
Copyright © 2015–2022 SciJava. All rights reserved.