|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
|
+--java.io.OutputStream
|
+--intradoc.common.ForkedOutputStream
Specialized output stream used to send output stream data to two places with one write command
| Field Summary | |
protected java.io.OutputStream[] |
m_streams
An array of output streams that are written to. |
| Constructor Summary | |
protected |
ForkedOutputStream()
Creates a new ForkedOutputStream. |
|
ForkedOutputStream(java.io.OutputStream[] streams)
Creates a new ForkedOutputStream with the array of additional output streams. |
| Method Summary | |
void |
write(byte[] b,
int off,
int len)
Writes len bytes from the specified byte array, starting at offset off, to the array of output streams in m_streams. |
void |
write(int b)
Writes the specified byte to the array of output streams in m_streams. |
| Methods inherited from class java.io.OutputStream |
close, flush, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.io.OutputStream[] m_streams
| Constructor Detail |
protected ForkedOutputStream()
public ForkedOutputStream(java.io.OutputStream[] streams)
| Method Detail |
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamb - the byte to be written.
java.io.IOException
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamb - the data.off - the start offset in the data.len - the number of bytes to write.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
(c) 1996-2005 All rights reserved. Stellent, Inc. |