public class ChecksumCalculatorWriter extends Writer
| Constructor and Description |
|---|
ChecksumCalculatorWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
long |
getChecksum() |
void |
write(char[] cbuf,
int off,
int len)
update checksum with bytes written.
|
public void write(char[] cbuf,
int off,
int len)
throws IOException
write in class WriterIOExceptionWriter.write(char[], int, int)public void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionWriter.flush()public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionWriter.close()public long getChecksum()
Copyright © 2017. All rights reserved.