public class DigestOutputStream extends FilterOutputStream
Modifier and Type | Field and Description |
---|---|
protected Digest |
digest |
out
Constructor and Description |
---|
DigestOutputStream(OutputStream stream,
Digest digest) |
Modifier and Type | Method and Description |
---|---|
Digest |
getDigest() |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, write
protected Digest digest
public DigestOutputStream(OutputStream stream, Digest digest)
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
public Digest getDigest()
Copyright © 2015. All rights reserved.