|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectjava.io.OutputStream
dk.brics.xact.operations.LengthOutputStream
public class LengthOutputStream
Output stream that counts the number of bytes written.
| Constructor Summary | |
|---|---|
LengthOutputStream()
Constructs a new length output stream. |
|
| Method Summary | |
|---|---|
int |
getLength()
Returns the number of bytes written. |
void |
reset()
Resets the byte counter. |
void |
write(int b)
Writes a byte. |
| Methods inherited from class java.io.OutputStream |
|---|
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 LengthOutputStream()
| Method Detail |
|---|
public int getLength()
public void reset()
public void write(int b)
write in class OutputStream
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||