org.ceryle.util
Class DocumentOutputStream
java.lang.Object
java.io.OutputStream
org.ceryle.util.DocumentOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class DocumentOutputStream
- extends OutputStream
Extends OutputStream to write the stream to a Swing text Document.
|
Method Summary |
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentOutputStream
public DocumentOutputStream(Document document)
DocumentOutputStream
public DocumentOutputStream(Document doc,
String charset)
throws UnsupportedCharsetException
- Throws:
UnsupportedCharsetException
write
public void write(int b)
- Specified by:
write in class OutputStream
write
public void write(byte[] b)
- Overrides:
write in class OutputStream
write
public void write(byte[] b,
int off,
int len)
- Overrides:
write in class OutputStream
The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.