|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.io.OutputStream
|
+--javax.servlet.ServletOutputStream
|
+--javawebparts.filter.JSCompressionResStream
This class is used to do compression.
| Field Summary | |
private java.io.ByteArrayOutputStream |
ba
ByteArrayOutputStream ba. |
| Fields inherited from class javax.servlet.ServletOutputStream |
|
| Constructor Summary | |
JSCompressionResStream()
Constructor. |
|
| Method Summary | |
void |
close()
Clean up. |
byte[] |
getData()
return the collected output |
void |
write(int b)
Writes a single byte to the output stream. |
| 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 |
flush, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.io.ByteArrayOutputStream ba
| Constructor Detail |
public JSCompressionResStream()
| Method Detail |
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamb - A single byte to write.
java.io.IOException - IOException.
public void close()
throws java.io.IOException
close in class java.io.OutputStreamjava.io.IOException - IOException.public byte[] getData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||