public class ByteCountOutputStream extends FilterOutputStream
Note: All write methods MUST be overridden if you subclass this filter as it overrides them all for better performance.
Constructor and Description |
---|
ByteCountOutputStream(OutputStream out) |
Modifier and Type | Method and Description |
---|---|
int |
getNWritten() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush
public ByteCountOutputStream(OutputStream out)
out
- public int getNWritten()
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.