|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
com.itextpdf.xmp.impl.CountOutputStream
public final class CountOutputStream
An OutputStream
that counts the written bytes.
Method Summary | |
---|---|
int |
getBytesWritten()
|
void |
write(byte[] buf)
Counts the written bytes. |
void |
write(byte[] buf,
int off,
int len)
Counts the written bytes. |
void |
write(int b)
Counts the written bytes. |
Methods inherited from class java.io.OutputStream |
---|
close, flush |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void write(byte[] buf, int off, int len) throws IOException
write
in class OutputStream
IOException
OutputStream.write(byte[], int, int)
public void write(byte[] buf) throws IOException
write
in class OutputStream
IOException
OutputStream.write(byte[])
public void write(int b) throws IOException
write
in class OutputStream
IOException
OutputStream.write(int)
public int getBytesWritten()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |