org.owasp.webscarab.util.swing
Class DocumentOutputStream
java.lang.Object
java.io.OutputStream
org.owasp.webscarab.util.swing.DocumentOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class DocumentOutputStream
- extends java.io.OutputStream
- Author:
- knoppix
Method Summary |
javax.swing.text.Document |
getDocument()
|
void |
write(byte[] buff)
|
void |
write(byte[] buff,
int off,
int length)
|
void |
write(int b)
|
Methods inherited from class java.io.OutputStream |
close, flush |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentOutputStream
public DocumentOutputStream()
- Creates a new instance of DocumentOutputStream
DocumentOutputStream
public DocumentOutputStream(int max)
getDocument
public javax.swing.text.Document getDocument()
write
public void write(int b)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(byte[] buff)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(byte[] buff,
int off,
int length)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
- Throws:
java.io.IOException