|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
javax.servlet.ServletOutputStream
org.zkoss.web.servlet.ServletOutputStreamWrapper
public class ServletOutputStreamWrapper
A facade of OutputStream for implementing ServletOutputStream.
| Constructor Summary | |
|---|---|
ServletOutputStreamWrapper(Writer writer,
String charset)
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
flush()
|
static javax.servlet.ServletOutputStream |
getInstance(OutputStream stream)
Returns a facade of the specified stream. |
static javax.servlet.ServletOutputStream |
getInstance(Writer writer,
String charset)
Returns a facade of the specified writer. |
void |
write(int b)
|
| Methods inherited from class javax.servlet.ServletOutputStream |
|---|
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println |
| Methods inherited from class java.io.OutputStream |
|---|
write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServletOutputStreamWrapper(Writer writer,
String charset)
charset - the charset. If null, "UTF-8" is assumed.| Method Detail |
|---|
public static javax.servlet.ServletOutputStream getInstance(OutputStream stream)
public static javax.servlet.ServletOutputStream getInstance(Writer writer,
String charset)
charset - the charset. If null, "UTF-8" is assumed.
public void write(int b)
throws IOException
write in class OutputStreamIOException
public void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOException
public void close()
throws IOException
close in interface Closeableclose in class OutputStreamIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||