com.glaivestone.toolbox.mv.text.swing
Class DocumentOutputStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--com.glaivestone.toolbox.mv.text.swing.DocumentOutputStream

public class DocumentOutputStream
extends java.io.OutputStream

An output stream on a document model.

Used to support print streams/writers on the text content of a view.

Since:
GFL 1.1
Author:
Deb Lewis

Constructor Summary
DocumentOutputStream(javax.swing.text.Document aDocument)
          Create a new output stream on the given document.
 
Method Summary
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentOutputStream

public DocumentOutputStream(javax.swing.text.Document aDocument)
Create a new output stream on the given document.

Method Detail

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
java.io.IOException
See Also:
OutputStream.write(int)

GFL 1.1 API