|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
com.sibvisions.util.io.ShadowCopyOutputStream
public class ShadowCopyOutputStream
The ShadowCopyOutputStream
is an OutputStream
wrapper that copies
every written byte to an internal cache.
Field Summary |
---|
Fields inherited from class java.io.FilterOutputStream |
---|
out |
Constructor Summary | |
---|---|
ShadowCopyOutputStream(java.io.OutputStream pStream)
Creates a new instance of ShadowCopyOutputStream . |
Method Summary | |
---|---|
void |
clear()
Clears the internal cache. |
byte[] |
dump()
Gets the written bytes. |
void |
write(int pByte)
|
Methods inherited from class java.io.FilterOutputStream |
---|
close, flush, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShadowCopyOutputStream(java.io.OutputStream pStream)
ShadowCopyOutputStream
.
pStream
- the wrapped streamMethod Detail |
---|
public void write(int pByte) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public byte[] dump()
public void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |