|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream fmrisc.ProofNavigator.SWT.TextOutputStream
public final class TextOutputStream
Mapping of an OutputStream object to a Text widget.
Constructor Summary | |
---|---|
TextOutputStream(org.eclipse.swt.widgets.Text output,
java.nio.charset.Charset charSet)
Create an output stream from a Text widget. |
Method Summary | |
---|---|
void |
write(byte[] b)
Write a byte array to the output stream. |
void |
write(byte[] b,
int offset,
int length)
Write a section of an byte array to the output stream. |
void |
write(int b)
Write a byte to the output stream. |
Methods inherited from class java.io.OutputStream |
---|
close, flush |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 encodingMethod Detail |
---|
public void write(byte[] b, int offset, int length)
write
in class java.io.OutputStream
b
- 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.OutputStream
b
- the byte array writtenpublic void write(int b)
write
in class java.io.OutputStream
b
- the byte written
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |