org.yasl.text
Class PlainDocumentWriter
java.lang.Object
java.io.Writer
org.yasl.text.PlainDocumentWriter
- public class PlainDocumentWriter
- extends Writer
- Version:
- 1.0
- Author:
- Jeff Chapman
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlainDocumentWriter
public PlainDocumentWriter()
getPlainDocumentModel
public PlainDocument getPlainDocumentModel()
close
public void close()
throws IOException
- Close the stream, flushing it first.
- Throws:
IOException - If an I/O error occurs
flush
public void flush()
throws IOException
- Flush the stream.
- Throws:
IOException - If an I/O error occurs
write
public void write(char[] cbuf,
int off,
int len)
throws IOException
- Write a portion of an array of characters.
- Parameters:
cbuf - Array of charactersoff - Offset from which to start writing characterslen - Number of characters to write
- Throws:
IOException - If an I/O error occurs