public class StyledDocumentOutputStream
extends java.io.PrintStream
| Modifier and Type | Field and Description |
|---|---|
protected javax.swing.text.StyledDocument |
doc
The document.
|
protected javax.swing.text.Style |
style
The style.
|
| Constructor and Description |
|---|
StyledDocumentOutputStream(javax.swing.text.StyledDocument doc,
javax.swing.text.Style style)
Create a new
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(byte[] b)
Write a byte array to the document.
|
void |
write(byte[] b,
int off,
int len)
Write a byte to the document.
|
void |
write(int b)
Write a byte to the document.
|
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setErrorprotected javax.swing.text.StyledDocument doc
protected javax.swing.text.Style style
public StyledDocumentOutputStream(javax.swing.text.StyledDocument doc,
javax.swing.text.Style style)
public void write(int b)
write in class java.io.PrintStreamb - The byte.public void write(byte[] b)
throws java.io.IOException
write in class java.io.FilterOutputStreamb - The byte array.java.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
write in class java.io.PrintStreamb - The byte array.off - The offset.len - The length.