private class WARCFileWriter.CountingOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
CountingOutputStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flush, writepublic CountingOutputStream(OutputStream out)
public void write(byte[] b, int off, int len) throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(int b) throws IOException
write in class FilterOutputStreamIOExceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.