public class LineOutputStream extends OutputStream
OutputStream that captures lines of text input and forwards them to a
LineListener. It internally buffers bytes until a newline is encountered and once that happens constructs a
String from the buffered bytes and supplies it to the listener.
| Constructor and Description |
|---|
LineOutputStream(LineListener
|
public LineOutputStream(LineListenerlistener)
public void write(int b)
throws IOException
write in class
OutputStream
IOException