|
||||||||||
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.ByteCountOutputStream
public class ByteCountOutputStream
The ByteCountOutputStream
is an OutputStream
wrapper which counts written bytes.
Field Summary |
---|
Fields inherited from class java.io.FilterOutputStream |
---|
out |
Constructor Summary | |
---|---|
ByteCountOutputStream(java.io.OutputStream pStream)
Creates a new instance of ByteCountOutputStream . |
Method Summary | |
---|---|
long |
getWrittenBytes()
Gets the number of already 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 ByteCountOutputStream(java.io.OutputStream pStream)
ByteCountOutputStream
.
pStream
- the wrapped streamMethod Detail |
---|
public void write(int pByte) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public long getWrittenBytes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |