Package org.verapdf.xmp.impl
Class CountOutputStream
java.lang.Object
java.io.OutputStream
org.verapdf.xmp.impl.CountOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
An
OutputStream that counts the written bytes.- Since:
- 08.11.2006
-
Method Summary
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream
-
Method Details
-
write
Counts the written bytes.- Overrides:
writein classOutputStream- Throws:
IOException- See Also:
-
write
Counts the written bytes.- Overrides:
writein classOutputStream- Throws:
IOException- See Also:
-
write
Counts the written bytes.- Specified by:
writein classOutputStream- Throws:
IOException- See Also:
-
getBytesWritten
public int getBytesWritten()- Returns:
- the bytesWritten
-