|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
javax.servlet.ServletOutputStream
okapi.tools.ToolOutputStream
public class ToolOutputStream
Class ToolOutputStream. ServletOutputStream which captures output into byte array output stream.
Constructor Summary | |
---|---|
ToolOutputStream()
|
Method Summary | |
---|---|
void |
close()
Method close. |
void |
flush()
Method flush. |
byte[] |
toByteArray()
|
java.lang.String |
toString()
Method toString. |
void |
write(byte[] b)
Method write. |
void |
write(byte[] b,
int off,
int len)
Method write. |
void |
write(int b)
Method write. |
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.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ToolOutputStream()
Method Detail |
---|
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
b
-
java.io.IOException
OutputStream.write(int)
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
b
- off
- len
-
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.OutputStream
b
-
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public byte[] toByteArray()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |