public final class TextOutputStream
extends java.io.OutputStream
| Constructor and Description |
|---|
TextOutputStream(org.eclipse.swt.widgets.Text output,
java.nio.charset.Charset charSet)
Create an output stream from a Text widget.
|
public TextOutputStream(org.eclipse.swt.widgets.Text output,
java.nio.charset.Charset charSet)
output - the widget that displays the output written to the stream.charSet - the character set to be used for encodingpublic void write(byte[] b,
int offset,
int length)
write in class java.io.OutputStreamb - the byte array.offset - the array index where the section starts.length - the length of the section.public void write(byte[] b)
write in class java.io.OutputStreamb - the byte array writtenpublic void write(int b)
write in class java.io.OutputStreamb - the byte written